From b46943547e1bf9195ffa837d4a61324532f8edc0 Mon Sep 17 00:00:00 2001 From: Eric Wertz Date: Mon, 9 Jun 2025 22:10:21 -0400 Subject: [PATCH] UI fixes --- frontend/components/Toolbar.tsx | 1 + frontend/styles.css | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/components/Toolbar.tsx b/frontend/components/Toolbar.tsx index 4a3e89f..7daaac7 100644 --- a/frontend/components/Toolbar.tsx +++ b/frontend/components/Toolbar.tsx @@ -30,6 +30,7 @@ export const Toolbar = ({ buttons, onMenuClick }: ToolbarProps) => { } if( window.visualViewport?.width && window.visualViewport.width > 480) { + toolbarRef.current.style.transform = `translate( 0px, 0px)`; return; } diff --git a/frontend/styles.css b/frontend/styles.css index 62fbc71..9135a9d 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -202,14 +202,15 @@ li { } li > div[contenteditable] { - margin: 0.25rem 0; + margin: 0 0; padding: 0.125rem; border-radius: 0.5rem; border: 1px solid transparent; transition: all 0.2s ease; min-height: 1.2em; outline: none; - display: block; + display: inline-block; + vertical-align: top; } li > div[contenteditable]:focus { @@ -224,7 +225,7 @@ li > div[contenteditable]:hover { /* Indentation levels using CSS custom properties */ li { - --indent-size: 1.5rem; + line-height: 1.5; } .list-item-level-0 { -- 2.49.0