Изменения документа Menu Macro
Редактировал(а) Coluns 14.06.2024
Сводка
-
Объекты (1 изменено, 0 добавлено, 0 удалено)
Подробности
- XWiki.StyleSheetExtension[1]
-
- Код
-
... ... @@ -195,10 +195,17 @@ 195 195 } 196 196 } 197 197 /* When in dropdown we also have a link, reset the duplicated padding */ 198 - & > span > a { 198 + & > .xDropdown-header > span > a { 199 199 padding: 0; 200 200 display: inherit; 201 201 } 202 + /* Reposition the toggle when in a dropdown of fixed size 203 + to avoid eating away at the bit of space we have for the text. */ 204 + & > .xDropdown-header > .xDropdown-header-toggle { 205 + position: absolute; 206 + right: 0; 207 + top: 0; 208 + } 202 202 } 203 203 /* Separator horizontal inside menu */ 204 204 &:empty {