aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-03-18 09:35:39 +0200
committerGitHub <[email protected]>2020-03-18 09:35:39 +0200
commit0ca2cf4ccac251bfd97c767f5608fa012673d5c3 (patch)
tree9bdd1c8e4e2aebaac7bf2eae9f93e4e87c267810 /site
parent80c291fec3dc88effb88dae7a110ac3213c74e30 (diff)
downloadbootstrap-0ca2cf4ccac251bfd97c767f5608fa012673d5c3.tar.xz
bootstrap-0ca2cf4ccac251bfd97c767f5608fa012673d5c3.zip
Dashboard example: use the core `.position-sticky` class. (#30408)
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/4.3/examples/dashboard/dashboard.css7
-rw-r--r--site/content/docs/4.3/examples/dashboard/index.html2
2 files changed, 1 insertions, 8 deletions
diff --git a/site/content/docs/4.3/examples/dashboard/dashboard.css b/site/content/docs/4.3/examples/dashboard/dashboard.css
index ef196319a..7e3ac226d 100644
--- a/site/content/docs/4.3/examples/dashboard/dashboard.css
+++ b/site/content/docs/4.3/examples/dashboard/dashboard.css
@@ -37,13 +37,6 @@ body {
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
-@supports ((position: -webkit-sticky) or (position: sticky)) {
- .sidebar-sticky {
- position: -webkit-sticky;
- position: sticky;
- }
-}
-
.sidebar .nav-link {
font-weight: 500;
color: #333;
diff --git a/site/content/docs/4.3/examples/dashboard/index.html b/site/content/docs/4.3/examples/dashboard/index.html
index a21af0186..6e549e6de 100644
--- a/site/content/docs/4.3/examples/dashboard/index.html
+++ b/site/content/docs/4.3/examples/dashboard/index.html
@@ -27,7 +27,7 @@ extra_js:
<div class="container-fluid">
<div class="row">
<nav id="sidebarMenu" class="col-md-2 d-md-block bg-light sidebar collapse">
- <div class="sidebar-sticky">
+ <div class="position-sticky">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">