1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Chore: Desktop: Markdown editor panes: Migrate from style properties to SCSS (#11423)

This commit is contained in:
Henry Heino
2024-11-20 03:36:56 -08:00
committed by GitHub
parent e5c31e555f
commit 5dcbf4ce4a
5 changed files with 67 additions and 76 deletions

View File

@@ -0,0 +1,37 @@
.note-editor-viewer-row {
position: relative;
display: flex;
flex-direction: row;
flex: 1;
padding-top: 10px;
// Allow the editor container to shrink (allowing the editor to scroll)
min-height: 0;
> .editor, > .viewer {
position: relative;
display: flex;
flex: 1;
}
> .viewer {
border-left-width: 1px;
border-left-color: var(--joplin-divider-color);
border-left-style: solid;
}
&:not(.-show-viewer) > .viewer {
display: none;
}
&:not(.-show-editor) {
> .editor {
display: none;
}
> .viewer {
border-left: none;
}
}
}