Skip to content

Commit 1d871b7

Browse files
committed
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.
1 parent 952222c commit 1d871b7

File tree

2 files changed

+616
-612
lines changed

2 files changed

+616
-612
lines changed

gallery.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
padding: 1em;
88
width: 160px;
99
}
10+
.container > div img {
11+
width: 96px;
12+
height: auto;
13+
}
1014
code {
1115
white-space: nowrap;
1216
}

0 commit comments

Comments
 (0)