From a6996ef38ec4d4b4ad84fc31b4810db49d0e0bad Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 30 Dec 2017 15:46:01 +0200 Subject: [PATCH] layout/overview.md: fix double copy button. --- docs/4.0/layout/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/4.0/layout/overview.md b/docs/4.0/layout/overview.md index 5a34beebfa..bdc030d3f4 100644 --- a/docs/4.0/layout/overview.md +++ b/docs/4.0/layout/overview.md @@ -166,7 +166,7 @@ These higher values start at an arbitrary number, high and specific enough to id We don't encourage customization of these individual values; should you change one, you likely need to change them all. -```scss +{% highlight scss %} $zindex-dropdown: 1000 !default; $zindex-sticky: 1020 !default; $zindex-fixed: 1030 !default; @@ -174,6 +174,6 @@ $zindex-modal-backdrop: 1040 !default; $zindex-modal: 1050 !default; $zindex-popover: 1060 !default; $zindex-tooltip: 1070 !default; -``` +{% endhighlight %} To handle overlapping borders within components (e.g., buttons and inputs in input groups), we use low single digit `z-index` values of `1`, `2`, and `3` for default, hover, and active states. On hover/focus/active, we bring a particular element to the forefront with a higher `z-index` value to show their border over the sibling elements. -- 2.47.2