mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 05:13:37 +08:00
cbe328cdc5
The Chrome bug appears to have been fixed: https://bugs.chromium.org/p/chromium/issues/detail?id=562162 This CSS rule makes images look very ugly in Safari, so removing it. ref #1259
27 lines
457 B
Plaintext
27 lines
457 B
Plaintext
.Avatar {
|
|
display: inline-block;
|
|
box-sizing: content-box;
|
|
color: #fff;
|
|
text-align: center;
|
|
vertical-align: top;
|
|
background-color: @control-bg;
|
|
font-weight: normal;
|
|
.Avatar--size(48px);
|
|
|
|
img {
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100%;
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
|
|
.Avatar--size(@size) {
|
|
width: @size;
|
|
height: @size;
|
|
border-radius: @size;
|
|
font-size: @size / 2;
|
|
line-height: @size;
|
|
}
|