Fix editor selection toolbar

This commit is contained in:
august kline 2024-11-14 17:34:12 -05:00
parent a8fdecd74c
commit 4f432f526a
1 changed files with 5 additions and 8 deletions

View File

@ -10,7 +10,7 @@ main {
border: solid 1px var(--color-text); border: solid 1px var(--color-text);
padding: 2rem; padding: 2rem;
min-block-size: 80%; min-block-size: 80%;
display: flex; /* display: flex; */
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
@ -91,7 +91,6 @@ main {
@media all and (max-width: 650px) { @media all and (max-width: 650px) {
.ce-toolbar__actions { .ce-toolbar__actions {
&>*:nth-child(1), &>*:nth-child(1),
&>*:nth-child(2) { &>*:nth-child(2) {
border-radius: 0; border-radius: 0;
@ -141,9 +140,12 @@ main {
gap: var(--default-padding); gap: var(--default-padding);
} }
* {
border-radius: 0 !important;
}
.ce-block__content { .ce-block__content {
word-wrap: break-word; word-wrap: break-word;
display: contents;
} }
.ce-block { .ce-block {
@ -156,10 +158,6 @@ main {
padding-block: 0; padding-block: 0;
} }
.codex-editor--narrow {
/* margin-inline-end: -50px !important; */
}
.codex-editor { .codex-editor {
&>*:first-child { &>*:first-child {
@ -181,7 +179,6 @@ main {
.ce-paragraph { .ce-paragraph {
font-size: calc(var(--font-size) * 1.3); font-size: calc(var(--font-size) * 1.3);
/* margin-block: calc(var(--font-size) * 2.6); */
line-height: calc(var(--font-size) * 2); line-height: calc(var(--font-size) * 2);
} }