css: declare all images flexible by default (#40417) #62

Merged
tjund merged 1 commits from wip/40417-flexible-img into main 2022-12-12 14:50:51 +01:00
4 changed files with 6 additions and 8 deletions

View File

@ -275,7 +275,6 @@ div.wcscurrentformscell ul {
.gru-content div.link-list-cell.has-asset-picture,
.gru-content div.wcsformsofcategorycell.has-asset-picture {
picture img {
max-width: 100%;
display: block;
padding: $cell-image-padding;
}

View File

@ -35,3 +35,8 @@ a {
a > img {
border: none;
}
img {
max-width: 100%;
height: auto;
}

View File

@ -44,12 +44,6 @@ div.textcell {
}
}
@media screen and ($max-mobile-viewport) {
img {
max-width: 100%;
}
}
span#environment-label,
div#footer div.cell.test-banner {
position: fixed;
@ -599,7 +593,6 @@ div#user-files {
max-width: 100px;
img {
min-width: 60px;
max-width: 100%;
}
}

View File

@ -653,6 +653,7 @@ div.file-upload-widget {
}
img {
max-height: 100%;
max-width: auto;
position: relative;
z-index: 10;
}