1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-desktop/gui/NoteEditor/styles/note-editor-viewer-row.scss

38 lines
567 B
SCSS

.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;
}
}
}