0 Votes

Changes for page Menu Macro

Last modified by Ruud de Jong on 2024/10/24 11:40

From version 6.1
edited by Ruud de Jong
on 2023/10/10 14:49
Change comment: Install extension [org.xwiki.platform:xwiki-platform-menu-ui/15.8]
To version 7.1
edited by Ruud de Jong
on 2024/07/13 21:59
Change comment: Install extension [org.xwiki.platform:xwiki-platform-menu-ui/16.5.0]

Summary

Details

XWiki.StyleSheetExtension[1]
Code
... ... @@ -194,10 +194,17 @@
194 194   }
195 195   }
196 196   /* When in dropdown we also have a link, reset the duplicated padding */
197 - & > span > a {
197 + & > .xDropdown-header > span > a {
198 198   padding: 0;
199 199   display: inherit;
200 200   }
201 + /* Reposition the toggle when in a dropdown of fixed size
202 + to avoid eating away at the bit of space we have for the text. */
203 + & > .xDropdown-header > .xDropdown-header-toggle {
204 + position: absolute;
205 + right: 0;
206 + top: 0;
207 + }
201 201   }
202 202   /* Separator horizontal inside menu */
203 203   &:empty {