Skip to content
This repository
Browse code

Fixed problem with dropdown menus in IE8 and IE9. Closes #255

  • Loading branch information...
commit c575fe979781bf611f607f3f8116b0358228d6c3 1 parent cb94ba3
Matt Vague mattvague authored

Showing 1 changed file with 7 additions and 5 deletions. Show diff stats Hide diff stats

  1. +7 5 app/assets/stylesheets/active_admin/_header.css.scss
12 app/assets/stylesheets/active_admin/_header.css.scss
@@ -3,14 +3,15 @@
3 3 @include primary-gradient;
4 4 @include shadow;
5 5 @include text-shadow(#000);
  6 + overflow: visible;
6 7 padding: 9px $horizontal-page-margin;
7   - position: relative;
8 8 z-index: 900;
9 9
10 10 h1 {
11   - display: inline;
  11 + display: inline-block;
12 12 color: #cdcdcd;
13 13 margin-right: 20px;
  14 + margin-bottom: 0px;
14 15 font-size: 1.3em;
15 16 font-weight: normal;
16 17 }
@@ -20,7 +21,7 @@
20 21 ul#tabs {
21 22 margin: 0;
22 23 padding: 0;
23   - display: inline;
  24 + display: inline-block;
24 25 height: 100%;
25 26
26 27 & > li {
@@ -44,6 +45,7 @@
44 45 &.has_nested > a {
45 46 background: url(active_admin_image_path('nested_menu_arrow.gif')) no-repeat 89% 50%;
46 47 padding-right: 20px;
  48 + z-index: 1050;
47 49 }
48 50
49 51 &.has_nested.current > a {
@@ -58,7 +60,6 @@
58 60
59 61 &.has_nested:hover > a {
60 62 @include rounded-top(10px);
61   - z-index: 800;
62 63 border-bottom: 5px solid $hover-menu-item-background;
63 64 background: $hover-menu-item-background url(active_admin_image_path('nested_menu_arrow_dark.gif')) no-repeat 89% 50%;
64 65 }
@@ -73,11 +74,12 @@
73 74 @include shadow(0, 1px, 3px, #444);
74 75 position: absolute;
75 76 width: 175px;
76   - margin-top: 4px;
  77 + margin-top: 5px;
77 78 float: left;
78 79 display: none;
79 80 padding: 3px 0px 5px 0;
80 81 list-style: none;
  82 + z-index: 1010;
81 83
82 84 li {
83 85 margin: 0px;

0 comments on commit c575fe9

Please sign in to comment.
Something went wrong with that request. Please try again.