From 4f432f526adf838f3c6a8e9aaea2dcdbe0251efb Mon Sep 17 00:00:00 2001 From: august kline Date: Thu, 14 Nov 2024 17:34:12 -0500 Subject: [PATCH] Fix editor selection toolbar --- src/client/assets/css/editor.css | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/client/assets/css/editor.css b/src/client/assets/css/editor.css index a5af579..c2dc1ee 100644 --- a/src/client/assets/css/editor.css +++ b/src/client/assets/css/editor.css @@ -10,7 +10,7 @@ main { border: solid 1px var(--color-text); padding: 2rem; min-block-size: 80%; - display: flex; + /* display: flex; */ flex-direction: column; align-items: stretch; @@ -91,7 +91,6 @@ main { @media all and (max-width: 650px) { .ce-toolbar__actions { - &>*:nth-child(1), &>*:nth-child(2) { border-radius: 0; @@ -141,9 +140,12 @@ main { gap: var(--default-padding); } +* { + border-radius: 0 !important; +} + .ce-block__content { word-wrap: break-word; - display: contents; } .ce-block { @@ -156,10 +158,6 @@ main { padding-block: 0; } -.codex-editor--narrow { - /* margin-inline-end: -50px !important; */ -} - .codex-editor { &>*:first-child { @@ -181,7 +179,6 @@ main { .ce-paragraph { font-size: calc(var(--font-size) * 1.3); - /* margin-block: calc(var(--font-size) * 2.6); */ line-height: calc(var(--font-size) * 2); }