You've already forked joplin
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user