Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14874

Admin layout breaks when left menu != smal as regression to #14796

    XMLWordPrintable

Details

    Description

      Reported by pascal France:
      http://ez.no/developer/forum/setup_design/issue_with_the_display_of_the_4_1_1_admin_interface

      This is caused by whitespace between margin value and 'em', patch:

      Index: design/admin/templates/pagelayout.tpl
      ===================================================================
      --- design/admin/templates/pagelayout.tpl	(revision 23526)
      +++ design/admin/templates/pagelayout.tpl	(working copy)
      @@ -39,7 +39,7 @@
           {def $left_menu_widths = ezini( 'LeftMenuSettings', 'MenuWidth', 'menu.ini')
                $left_menu_width=$left_menu_widths[$admin_left_width]}
           div#leftmenu {ldelim} width: {$left_menu_width}em; {rdelim}
      -    div#maincontent {ldelim} margin-left: {$left_menu_width|int}.5 em; {rdelim}
      +    div#maincontent {ldelim} margin-left: {$left_menu_width|int}.5em; {rdelim}
           {undef $left_menu_widths $left_menu_width}
       {/if}
       
      

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: