From 929c825b2348a068980b9aea84df30e260a6d917 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Sun, 21 Jan 2024 07:17:10 -0800 Subject: [PATCH] Tweak tab styles Oh right, I just remembered how tabs work, they join with the page when selected! lol Something about this still feels off to me, but idk, I find it charming and I wanna just let it rock. --- app/assets/stylesheets/partials/_item_header.sass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/partials/_item_header.sass b/app/assets/stylesheets/partials/_item_header.sass index 072bb37f..a61fe8e2 100644 --- a/app/assets/stylesheets/partials/_item_header.sass +++ b/app/assets/stylesheets/partials/_item_header.sass @@ -144,6 +144,7 @@ a display: block + background: $module-bg-color border: 1px solid $module-border-color border-bottom: 0 border-radius: .5em .5em 0 0 @@ -154,5 +155,7 @@ text-decoration: underline &[data-is-current=true] - background: $module-bg-color - font-weight: bold \ No newline at end of file + background: $background-color + padding-bottom: calc(.5em + 1px) + font-weight: bold + margin-bottom: -1px \ No newline at end of file