| The XWiki Syntax help page (XWiki.XWikiSyntax) has no layout of its own: since XWIKI-10675, the Flamingo skin gives its menu and content the layout of the Administration pages, by applying the .admin-menu and #admin-page-content rules to .syntax-menu and #syntax-page-content. The page also still ships a margin-left: 15em rule from the Colibri era, which the skin has to cancel. This keeps page-specific styles in the skin, and any change to the Administration layout silently changes the syntax help page too. Proposal
- Lay out the page with the Bootstrap grid classes in XWikiSyntax.xml: a row wrapper, col-xs-12 col-sm-3 on the menu and col-xs-12 col-sm-9 on the content.
- Remove the obsolete margin-left: 15em rule from the page's style sheet extension.
- Remove the syntax help selectors from the skin's admin.css.
Expected visual changes
- On screens of 1200px and wider, the menu is no longer capped at 300px.
- The row wrapper adds -15px side margins, and the columns keep their gutter padding below 480px.
These need to be reviewed, and adjusted if unwanted. Note This was first part of the conversion of admin.less to CSS in XWIKI-23674, then split out to keep that conversion free of visual changes. |