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:
@@ -1390,12 +1390,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-container {
|
|
||||||
background: #fafafa;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.public .poll {
|
.public .poll {
|
||||||
border: 1px solid $border;
|
border: 1px solid $border;
|
||||||
margin-bottom: calc($line-height / 2);
|
margin-bottom: calc($line-height / 2);
|
||||||
|
|||||||
@@ -4,8 +4,14 @@
|
|||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
padding: 0 calc($line-height / 2) 0 0;
|
padding: 0 calc($line-height / 2) 0 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.image-container img {
|
.image-container {
|
||||||
|
background: #fafafa;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
img {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user