mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 09:05:38 +08:00
Remove white border from badges, decrease overlap
This commit is contained in:
parent
66398d423e
commit
c95dbc0cb4
|
@ -32,7 +32,7 @@
|
|||
pointer-events: none;
|
||||
|
||||
.Badge {
|
||||
margin-left: -15px;
|
||||
margin-left: -10px;
|
||||
position: relative;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
pointer-events: none;
|
||||
|
||||
.Badge {
|
||||
margin-left: -15px;
|
||||
margin-left: -10px;
|
||||
position: relative;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
.Badge {
|
||||
.Badge--size(22px);
|
||||
border: 1px solid @body-bg;
|
||||
background: @muted-color;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
|
@ -17,7 +16,7 @@
|
|||
width: @size;
|
||||
height: @size;
|
||||
border-radius: @size / 2;
|
||||
line-height: @size - 3px;
|
||||
line-height: @size - 1px;
|
||||
|
||||
&, .Badge-icon {
|
||||
font-size: 0.56 * @size;
|
||||
|
|
Loading…
Reference in New Issue
Block a user