From 5c05db458002abacf0a6281e76d0dfc40dd9e58c Mon Sep 17 00:00:00 2001 From: Hare Date: Wed, 18 Dec 2024 06:34:55 +0900 Subject: [PATCH] update: layout styles in overview and article pages --- articles | 1 - src/lib/components/overview.svelte | 1 + src/lib/page/article_page.svelte | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 160000 articles diff --git a/articles b/articles deleted file mode 160000 index 6cd6a02..0000000 --- a/articles +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6cd6a02396ef9ff5786bffaf082a6e72bf1a135f diff --git a/src/lib/components/overview.svelte b/src/lib/components/overview.svelte index 5746be1..6e1f0b2 100644 --- a/src/lib/components/overview.svelte +++ b/src/lib/components/overview.svelte @@ -44,6 +44,7 @@ margin-left: 0.5em; padding-left: 0.25em; border-left: 1px solid var(--line-primary); + box-sizing: border-box; } ul { border-left: none; diff --git a/src/lib/page/article_page.svelte b/src/lib/page/article_page.svelte index fe2edcf..28d66cd 100644 --- a/src/lib/page/article_page.svelte +++ b/src/lib/page/article_page.svelte @@ -115,7 +115,7 @@ display: flex; flex-direction: row; justify-content: center; - align-items: start; + align-items: start; .content { border: 1px solid var(--line-primary); border-top: none; @@ -131,17 +131,17 @@ .card-container { position: sticky; top: 0; - overflow-y: auto; background-color: var(--background-primary); box-sizing: border-box; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; + overflow: visible; .card { - width: 300px; + width: 100px; padding: 0.5em 0; - overflow: visible; + overflow: visible; } }