Do not set width and height to 100% for <img/> of document
Closes #14979 (grafted from 9f966d1051f17bbcf09959daf3fab1e1f28cff36) --HG-- branch : 8.0
This commit is contained in:
+4
-2
@@ -1372,12 +1372,14 @@ img.icon {
|
||||
object, iframe, img {
|
||||
max-width: 100%;
|
||||
min-height: 50vh;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
@media screen and (max-width: @screen-xs-max) {
|
||||
min-height: 50vh;
|
||||
}
|
||||
}
|
||||
object, iframe {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
label {
|
||||
font-weight: normal;
|
||||
|
||||
Reference in New Issue
Block a user