MediaWiki:Gadget-main-navbox.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
position: relative; | position: relative; | ||
min-width: 400px; | min-width: 400px; | ||
width: 100%; /* <- This is optional. Without this, the navboxes work fine and are only as wide as they need to be, which may be desirable in some cases. However, there is a drawback: the "collapse" buttons move after they are clicked. Setting width to 100% makes it so the buttons always stay in the same place. */ | |||
} | } | ||