diff --git a/docs/esempi/sticky/index.html b/docs/esempi/sticky/index.html index 433443d37f..fb3289d2a8 100644 --- a/docs/esempi/sticky/index.html +++ b/docs/esempi/sticky/index.html @@ -40,6 +40,27 @@

Esempio Componente Sticky: posizionamento sticky e fixed

+
+ + + + + +
diff --git a/src/scss/custom/_sticky.scss b/src/scss/custom/_sticky.scss index e6e075551e..90cf823af2 100644 --- a/src/scss/custom/_sticky.scss +++ b/src/scss/custom/_sticky.scss @@ -1,9 +1,9 @@ .bs-is-sticky { position: sticky !important; - z-index: 9999 !important; + z-index: $zindex-sticky !important; } .bs-is-fixed { position: fixed !important; - z-index: 10000 !important; /* per fare in modo che uno sticky non finisca sopra un fixed (es. l'header) */ + z-index: $zindex-fixed !important; /* per fare in modo che uno sticky non finisca sopra un fixed (es. l'header) */ }