diff options
| author | Henry Jameson <me@hjkos.com> | 2020-11-02 20:51:38 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-11-02 20:51:38 +0200 |
| commit | 08e6e6664218d20cf3dd1b00823720505fb08fe7 (patch) | |
| tree | 346cf6dd6030358f39597dca287a84e7e7d06965 /src/App.scss | |
| parent | f0a66448eeedb348f71b09334b6e7b3c411baeea (diff) | |
fix chat badge and unify styles across all badges including follow
request count.
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/App.scss b/src/App.scss index 1800d816..ca7d33cd 100644 --- a/src/App.scss +++ b/src/App.scss @@ -603,19 +603,24 @@ nav { flex-grow: 0; } } + .badge { + box-sizing: border-box; display: inline-block; border-radius: 99px; - min-width: 22px; - max-width: 22px; - min-height: 22px; - max-height: 22px; - font-size: 15px; - line-height: 22px; - text-align: center; + max-width: 10em; + min-width: 1.7em; + height: 1.3em; + padding: 0.15em 0.15em; vertical-align: middle; + font-weight: normal; + font-style: normal; + font-size: 0.9em; + line-height: 1; + text-align: center; white-space: nowrap; - padding: 0; + overflow: hidden; + text-overflow: ellipsis; &.badge-notification { background-color: $fallback--cRed; |
