aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-11-03 17:09:10 +0000
committerShpuld Shpludson <shp@cock.li>2020-11-03 17:09:10 +0000
commitb485d21ba91629931f2846eafaed7ec04d73c8c8 (patch)
tree5252e878a9536b9ee94a3d44062f758f2bbc11d7 /src/App.scss
parent22bc0c08402c2aea96ac33680dcc2cef3109ded9 (diff)
parent4e4b258c547fd4dba2be02aa66a1fd3aa2bb58ef (diff)
Merge branch 'fix-chat-badge' into 'develop'
Few more minor fixes See merge request pleroma/pleroma-fe!1275
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss21
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;