sforkowany z mirror/soapbox
Fix header .still-image on mobile
rodzic
ce6446f059
commit
5c0bef4e9b
|
@ -22,6 +22,7 @@
|
|||
background: var(--accent-color--med);
|
||||
@media screen and (max-width: 895px) {height: 225px;}
|
||||
&--none {height: 125px;}
|
||||
|
||||
img {
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
|
@ -30,6 +31,10 @@
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.still-image {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.still-image--play-on-hover::before {
|
||||
content: 'GIF';
|
||||
position: absolute;
|
||||
|
|
Ładowanie…
Reference in New Issue