forked from PrivateCoffee/wikimore
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:
parent
b5744d1e0d
commit
f92d3ce79b
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue