Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce z-indexes in button-group, input-group, list-group, and pagination to the minimum necessary #24315

Merged
merged 3 commits into from
Oct 20, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Z-index documentation section
to include the z-index settings for button-group, input-group,
list-group, and pagination
  • Loading branch information
rmacklin committed Oct 9, 2017
commit 3979a1f0d387c4dbb382706596c86f3bfafd5531
2 changes: 2 additions & 0 deletions docs/4.0/layout/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,5 @@ $zindex-tooltip: 1070 !default;
```

Background elements—like the backdrops that allow click-dismissing—tend to reside on a lower `z-index`s, while navigation and popovers utilize higher `z-index`s to ensure they overlay surrounding content.

Additionally, the `button-group`, `input-group`, `list-group`, and `pagination` components make use of setting `z-index` to `1` or `2` in order to ensure that the borders of the _active_ element correctly appear "above" their sibling elements.