Skip to content

Commit

Permalink
CSS tweaks for content editor
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Mar 12, 2024
1 parent 4dd40a0 commit 1dca480
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion django_prose_editor/static/django_prose_editor/editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
font-size: var(--prose-editor-font-size);
box-sizing: border-box;
position: relative;
max-width: 120ch;

flex-grow: 1;
}
Expand Down Expand Up @@ -78,3 +79,8 @@
.prose-menubar__button--history-redo {
transform: scaleX(-1);
}

/* content editor support */
label:empty:has(+ .prose-editor) {
display: none;
}

0 comments on commit 1dca480

Please sign in to comment.