feat(css): Add class for default size adjustment

Added `.mw-default-size` CSS class with `width: fit-content` to ensure elements with this class adjust width based on their content. This enhancement improves the layout for dynamically sized components, ensuring they are appropriately sized without overflow issues.
This commit is contained in:
Kumi 2024-08-18 08:55:21 +02:00
parent b5744d1e0d
commit f92d3ce79b
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -427,6 +427,10 @@ figcaption,
margin-left: 1em; margin-left: 1em;
} }
.mw-default-size {
width: fit-content;
}
/* Reference styling */ /* Reference styling */
.reflist-lower-alpha .references { .reflist-lower-alpha .references {
list-style-type: lower-alpha; list-style-type: lower-alpha;