Compare commits

...

2 Commits

Author SHA1 Message Date
august kline 6286352b5e Update gitignore 2024-11-14 17:34:25 -05:00
august kline 4f432f526a Fix editor selection toolbar 2024-11-14 17:34:12 -05:00
2 changed files with 7 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
/target /target
/index /index
.env .env
*.db*
key

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