Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-48243

Possible inconsistancy between LTR and RTL blocks.less CSS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7.4, 2.8.2
    • STABLE backlog
    • Themes
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-48243_master
    • Hide
      1. With Clean theme selected and editing on, dock at least one block.
      2. Verify that when selected the docked block opens out into the page and that the title of the block is left aligned.
      3. Verify that the block action icons '>' (dock-to-block) 'x' (show/hide) are on the right.
      4. Verify that the Editing icons are also on the right.
        SWITCH LANGUAGE to RTL - either Hebrew (he) or Arabic (ar)
      5. Test 2, 3, 4 above but verify that position of block title, block action icons and editing icons are reversed.:
        • Dock and Title on right
        • Block action icons on left
        • Editing icons on left
      Show
      With Clean theme selected and editing on, dock at least one block. Verify that when selected the docked block opens out into the page and that the title of the block is left aligned. Verify that the block action icons '>' (dock-to-block) 'x' (show/hide) are on the right. Verify that the Editing icons are also on the right. SWITCH LANGUAGE to RTL - either Hebrew (he) or Arabic (ar) Test 2, 3, 4 above but verify that position of block title, block action icons and editing icons are reversed.: Dock and Title on right Block action icons on left Editing icons on left

      Found while fixing MDL-48202 I noticed an inconsistency between the LTR mark-up and RTL mark-up for block-action.

      Where LTR mark-up gives this...

      https://github.com/moodle/moodle/blob/master/theme/bootstrapbase/less/moodle/blocks.less#L13-L18

      the RTL mark-up gives this...

      https://github.com/moodle/moodle/blob/master/theme/bootstrapbase/less/moodle/blocks.less#L240-L246

      which doesn't seem right as the margins are being applied to
      .block .header .commands whereas they should be for .block .block-action!

            lazydaisy Mary Evans
            lazydaisy Mary Evans
            David Monllaó David Monllaó
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.