Skip to content

Commit

Permalink
[fixed] focused popups have a higher zIndex than others
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Feb 15, 2016
1 parent c664145 commit f01fbfd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/less/popup.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
background: @popup-bg;
padding: 2px;
overflow: auto;

// the offsets allows for drop shadow to not be clipped by the container
margin-bottom: 10px;
left: 10px;
Expand All @@ -31,7 +31,11 @@
// offset for drop shadow on rw-popup
left: -10px - @input-border-width;
right: -10px - @input-border-width;


.rw-widget.rw-state-focus & {
z-index: @popup-zindex + 10;
}

&.rw-dropup {
top: auto;
bottom: 100%;
Expand All @@ -42,4 +46,3 @@
width: 18em; //15em; ?
}
}

0 comments on commit f01fbfd

Please sign in to comment.