Add line measure styling to index.css
This commit is contained in:
@@ -451,6 +451,27 @@ body {
|
||||
|
||||
.line-numbers__line {
|
||||
height: 1.5em;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.line-measure {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
font-family: "SF Mono", "Menlo", "Consolas", monospace;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.5;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.line-measure__line {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.editor__textarea {
|
||||
|
||||
Reference in New Issue
Block a user