0 Votes

Changes for page Menu Macro

Last modified by RPG Research Xwiki Documents Administrator on 2025/09/07 16:44

From version 5.1
edited by Hawke Robinson
on 2023/09/03 02:56
Change comment: Install extension [org.xwiki.platform:xwiki-platform-menu-ui/15.7]
To version 6.1
edited by Hawke Robinson
on 2024/07/16 12:28
Change comment: Install extension [org.xwiki.platform:xwiki-platform-menu-ui/16.5.0]

Summary

Details

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