1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

fixed background size cover

This commit is contained in:
Fedor Katurov 2020-03-16 16:19:03 +07:00
parent a76ee66f51
commit da47da9d6a
9 changed files with 19 additions and 14 deletions

View file

@ -8,7 +8,8 @@
position: relative;
cursor: pointer;
color: white;
background: 50% 50% no-repeat/cover $content_bg;
background: 50% 50% no-repeat $content_bg;
background-size: cover;
.is_hero {
.title {

View file

@ -26,7 +26,8 @@
.thumb {
height: 48px;
margin-right: $gap;
background: 50% 50% no-repeat/cover;
background: 50% 50% no-repeat;
background-size: cover;
border-radius: $radius;
flex: 0 0 48px;
display: flex;