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