Skip to content
Snippets Groups Projects
Commit 3726ed9b authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWMCS-6283: make image proportion fix apply to all images, not just sized ones.

parent ee25093b
No related branches found
No related tags found
1 merge request!98ISTWMCS-6283: make image proportion fix apply to all images, not just sized ones.
......@@ -3,6 +3,8 @@
:where(img) {
max-inline-size: 100%;
/* Ensure images maintain proportions despite having dimensions set. */
height: auto;
@media print {
max-width: 100% !important;
page-break-inside: avoid;
......
......@@ -16,10 +16,6 @@
display: table-caption;
}
&__sized-image {
/* Ensure sized images maintain proportions despite having dimensions set. */
img {
height: auto;
}
&--center {
align-self: center;
img {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment