Skip to content

Commit

Permalink
fix(editor): Fix outline visibility
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Nov 1, 2023
1 parent 44170f2 commit 765f4c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/css/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
max-width: var(--text-editor-max-width);
margin: auto;

&[data-collectives-el='editor'],
&[data-collectives-el='reader'] {
max-width: unset;
}

&.page-title {
max-width: 100%;
margin: 0 0 0 max(0px, calc(50% - (var(--text-editor-max-width) / 2)));
Expand All @@ -24,3 +29,11 @@
margin: auto;
}
}

/* TODO: remove once https://github.com/nextcloud/text/pull/4945 got released */
.editor--outline {
border-radius: var(--border-radius-large);
box-shadow: 0 1px 10px var(--color-box-shadow);
background-color: var(--color-main-background);
z-index: 10021;
}

0 comments on commit 765f4c2

Please sign in to comment.