Fix header .still-image on mobile
This commit is contained in:
parent
ce6446f059
commit
5c0bef4e9b
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
background: var(--accent-color--med);
|
background: var(--accent-color--med);
|
||||||
@media screen and (max-width: 895px) {height: 225px;}
|
@media screen and (max-width: 895px) {height: 225px;}
|
||||||
&--none {height: 125px;}
|
&--none {height: 125px;}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -30,6 +31,10 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.still-image {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.still-image--play-on-hover::before {
|
.still-image--play-on-hover::before {
|
||||||
content: 'GIF';
|
content: 'GIF';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue