Move flag image sizing from HTML to CSS
Removed explicit width attributes from flag <img> tags in gallery.md and added a CSS rule to set image width to 96px. This centralizes image sizing in CSS for easier maintenance and cleaner markup.
This commit is contained in:
parent
952222c46f
commit
1d871b7866
2 changed files with 616 additions and 612 deletions
|
|
@ -7,6 +7,10 @@
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
}
|
}
|
||||||
|
.container > div img {
|
||||||
|
width: 96px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
code {
|
code {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1224
gallery.md
1224
gallery.md
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue