Move image-container CSS to the polls component

This is the only place where we use the `image-container` HTML class.
This commit is contained in:
Javi Martín
2024-10-22 23:18:14 +02:00
parent 1b9d321c4e
commit edfea8f06b
2 changed files with 7 additions and 7 deletions

View File

@@ -1390,12 +1390,6 @@
}
}
.image-container {
background: #fafafa;
overflow: hidden;
position: relative;
}
.public .poll {
border: 1px solid $border;
margin-bottom: calc($line-height / 2);

View File

@@ -4,8 +4,14 @@
@include breakpoint(medium) {
padding: 0 calc($line-height / 2) 0 0;
}
}
.image-container img {
.image-container {
background: #fafafa;
overflow: hidden;
position: relative;
img {
height: 100%;
max-width: none;
position: absolute;