From: Marius Balteanu Date: Tue, 10 Aug 2021 19:59:00 +0000 (+0000) Subject: Remove wrapper2 and wrapper3 wrapping containers (#30448). X-Git-Tag: 5.0.0~291 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=420781e9318314a27ab9206988a379269f15ec01;p=redmine.git Remove wrapper2 and wrapper3 wrapping containers (#30448). git-svn-id: http://svn.redmine.org/redmine/trunk@21151 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 43e7459e7..5b7f23f79 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -58,8 +58,7 @@ -
-
+
<%= render_menu :account_menu -%> @@ -118,12 +117,10 @@ -
-
<%= call_hook :view_layouts_base_body_bottom %> diff --git a/public/javascripts/responsive.js b/public/javascripts/responsive.js index ec1611132..0bc5c3452 100644 --- a/public/javascripts/responsive.js +++ b/public/javascripts/responsive.js @@ -2,7 +2,7 @@ function openFlyout() { $('html').addClass('flyout-is-active'); - $('#wrapper2').on('click', function(e){ + $('#wrapper').on('click', function(e){ e.preventDefault(); e.stopPropagation(); closeFlyout(); @@ -11,7 +11,7 @@ function openFlyout() { function closeFlyout() { $('html').removeClass('flyout-is-active'); - $('#wrapper2').off('click'); + $('#wrapper').off('click'); } diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 17b536e09..4fe480208 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -16,9 +16,13 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} .wiki h6 {font-size: 1em; color: #8e8e8e;} /***** Layout *****/ -div#wrapper, div#wrapper2, div#wrapper3 { min-height: inherit; } -#wrapper {background: white;overflow: hidden;} -#wrapper3 { display: flex; flex-direction: column; } +#wrapper { + min-height: inherit; + background: white; + overflow: hidden; + display: flex; + flex-direction: column; +} #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 10px 0px 12px;} #top-menu ul {margin: 0; padding: 0;} @@ -113,8 +117,6 @@ div#wrapper, div#wrapper2, div#wrapper3 { min-height: inherit; } #sidebar li input[type=checkbox] {height: 20px;} #content { flex-grow: 1; background-color: #fff; margin: 0px; padding: 10px 16px 10px 16px; overflow-x: auto;} -html>body #content { min-height: 600px; } -* html body #content { height: 600px; } /* IE */ #main.nosidebar #sidebar{ display: none; } diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index a4902af67..89b34aeff 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -76,10 +76,6 @@ position: relative; overflow-x: hidden; /* hide horizontal overflow */ max-width: 100%; - } - - #wrapper, - #wrapper2 { margin: 0; }