XWiki Platform
  1. XWiki Platform
  2. XWIKI-13310

Menus entries are stuck to the arrow indicating a sub-menu

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      There is a space set between the end of the <li> and the arrow but not between the end of the menu label and the arrow.

      Expected result :

      • The text is always detached from the arrow when a sub-menu is displayed
      • Currently all arrows of the submenus are aligned on the longest label. This needs to stay the same.

        Activity

        Hide
        Marius Dumitru Florea added a comment - - edited

        It's not very clear what the problem is. Are you complaining about the fact that there's no space between the menu item label and the arrow on the right? That can be easily fixed from CSS by replacing 1em with 8px in Menu.MenuMacro SSX:

          /* Place the arrow on the right */
          &:after {
            position: absolute;
            margin-top: @line-height-computed / 2;
            right: 1em;
          }
        
        Show
        Marius Dumitru Florea added a comment - - edited It's not very clear what the problem is. Are you complaining about the fact that there's no space between the menu item label and the arrow on the right? That can be easily fixed from CSS by replacing 1em with 8px in Menu.MenuMacro SSX: /* Place the arrow on the right */ &:after { position: absolute; margin-top: @line-height-computed / 2; right: 1em; }
        Show
        Manuel Smeria added a comment - PR: https://github.com/xwiki/xwiki-platform/pull/539

          People

          • Assignee:
            Manuel Smeria
            Reporter:
            Jean Coury
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: