(no bug) - Image box-shadow instead of border to correctly overlay top/bottom edge
This commit is contained in:
Родитель
42be567f59
Коммит
063544f5e7
|
@ -5,8 +5,7 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 0.5px solid $black-10;
|
box-shadow: inset 0 0 0 0.5px $black-15;
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note: lineHeight and fontSize should be unitless but can be derived from pixel values
|
// Note: lineHeight and fontSize should be unitless but can be derived from pixel values
|
||||||
|
|
Загрузка…
Ссылка в новой задаче