diff --git a/src/components/AppEditor.vue b/src/components/AppEditor.vue index 81235e7..3020220 100644 --- a/src/components/AppEditor.vue +++ b/src/components/AppEditor.vue @@ -15,7 +15,7 @@ const props = defineProps<{ diff --git a/src/css/pattern.css b/src/css/pattern.css index 452fc09..afebc40 100644 --- a/src/css/pattern.css +++ b/src/css/pattern.css @@ -1,6 +1,9 @@ .pattern-height-note-list { max-height: calc(100vh - 9rem); } +.pattern-height-editor-content { + max-height: calc(100vh - 5.5rem); +} .pattern-button-base { padding-left: 0.5rem; padding-right: 0.5rem; @@ -79,6 +82,17 @@ details[open].pattern-dropdown>summary:before { .pattern-hiding-child:hover>*>.pattern-hidden-child { display: inline-block; } + +.pattern-scrollbar-thick::-webkit-scrollbar { + width: 8px; + height: 8px; + background-color: var(--color-bg-scrollbar); +} + +.pattern-scrollbar-thick::-webkit-scrollbar-thumb { + background-color: var(--color-bg-scrollbar-thumb); +} + .pattern-scrollbar-thin::-webkit-scrollbar { width: 4px; height: 4px; diff --git a/src/css/style.css b/src/css/style.css index 4a6f756..6ff7be8 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -4,6 +4,7 @@ body { background-color: var(--color-bg-primary); font-family: sans-serif; line-height: 1.5rem; + overflow: hidden; } ul { @@ -23,6 +24,7 @@ svg { min-height: 100vh; display: flex; flex-direction: column; + overflow: hidden; } /* tiptap */ diff --git a/src/css/utility.css b/src/css/utility.css index 74d8536..a2b5da0 100644 --- a/src/css/utility.css +++ b/src/css/utility.css @@ -23,6 +23,9 @@ .overflow-y-scroll { overflow-y: scroll; } +.overflow-y-hidden { + overflow-y: hidden; +} /* size */ .h-full { height: 100%; @@ -135,6 +138,10 @@ padding-left: 1rem; padding-right: 1rem; } +.px-6 { + padding-left: 1.5rem; + padding-right: 1.5rem; +} .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; @@ -143,6 +150,9 @@ padding-top: 0.5rem; padding-bottom: 0.5rem; } +.pt-6 { + padding-top: 1.5rem; +} .pl-0 { padding-left: 0; } diff --git a/src/pages/IndexPage.vue b/src/pages/IndexPage.vue index 40be03b..334c035 100644 --- a/src/pages/IndexPage.vue +++ b/src/pages/IndexPage.vue @@ -133,8 +133,8 @@ const handleDelete = (id: string) => {