We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52e9a7 commit a8448e8Copy full SHA for a8448e8
projects/sort-package-json-keithamus.html
@@ -67,11 +67,18 @@
67
margin-left: 20px;
68
}
69
70
-/* Article */
71
- .site-main article img{
72
- width: 100%;
73
- height: auto;
74
- }
+
+/* Apply responsiveness to all images except those inside anchor tags */
+.site-main article img:not(a img) {
+ width: 100%; /* Make them responsive */
+ height: auto; /* Maintain aspect ratio */
75
+}
76
77
+/* Ensure that images inside anchor tags keep their natural size */
78
+.site-main article a img {
79
+ width: auto; /* Retain original size */
80
81
82
83
/* Heading styles */
84
#changelogList h1 {
0 commit comments