Tweak Bulma CSS on profile tabs

This commit is contained in:
Noah Petherbridge 2023-09-16 16:33:09 -07:00
parent 1e9ef5a79c
commit ca34f63296
2 changed files with 10 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -7,8 +7,8 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/bulma.min.css">
<link rel="stylesheet" type="text/css" href="/static/css/bulma-prefers-dark.css" />
<link rel="stylesheet" type="text/css" href="/static/css/bulma.min.css?build={{.BuildHash}}">
<link rel="stylesheet" type="text/css" href="/static/css/bulma-prefers-dark.css?build={{.BuildHash}}" />
<link rel="stylesheet" href="/static/fontawesome-free-6.1.2-web/css/all.css">
<link rel="stylesheet" href="/static/css/theme.css?build={{.BuildHash}}">
<title>{{template "title" .}} - {{ .Title }}</title>