From ca34f63296150708ab539f40bfa9c45ed54b7d68 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sat, 16 Sep 2023 16:33:09 -0700 Subject: [PATCH] Tweak Bulma CSS on profile tabs --- web/static/css/theme.css | 9 ++++++++- web/templates/base.html | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/web/static/css/theme.css b/web/static/css/theme.css index 4af4365..db6f868 100644 --- a/web/static/css/theme.css +++ b/web/static/css/theme.css @@ -92,6 +92,13 @@ abbr { display: none; } +/* Bulma hack: smaller tag size inside of tab buttons. The default tag height + is set to 2em which makes the boxed tabs too tall and the bottom line doesn't + draw correctly. Seen on e.g. Profile Pages for the tag # of photos. */ +.tabs.is-boxed > ul > li > a .tag { + height: 1.5em !important; +} + /*** * Mobile navbar notification count badge no. */ @@ -130,4 +137,4 @@ abbr { .nonshy-navbar-notification-tag.is-danger { background-color: #ff0537; color: #fff; -} \ No newline at end of file +} diff --git a/web/templates/base.html b/web/templates/base.html index f4c6d18..463be28 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -7,8 +7,8 @@ - - + + {{template "title" .}} - {{ .Title }}