From cf9a5d17125c4b489519a31ce5c3eb18cb75fca7 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Tue, 21 Feb 2023 12:34:14 +0100 Subject: [PATCH] UI: Improve notifications count readability Since the latest Gitea changes from upstream, notifications count has been hard to read. Make font larger and increase padding. --- templates/custom/header.tmpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/custom/header.tmpl b/templates/custom/header.tmpl index 2dba123..6c99d49 100644 --- a/templates/custom/header.tmpl +++ b/templates/custom/header.tmpl @@ -112,6 +112,17 @@ } } + /* Notifications indicator. */ + .notification_count { + border-radius: 0.6em; + font-size: 12px; + font-weight: normal !important; + font-variation-settings: "wght" var(--font-weight-bold); + line-height: unset; + margin-left: var(--spacer-1); + padding: 2px 4px; + } + /* Navigation tabs. * e.g. Code, Issues pages in a repository. */ .ui.tabular.menu .item {