diff --git a/components/doc-sidebar.css b/components/doc-sidebar.css index acb50bc..2a91e9d 100644 --- a/components/doc-sidebar.css +++ b/components/doc-sidebar.css @@ -15,8 +15,33 @@ border-bottom-color: var(--primary-color); } +.toggle-list { + display: none; +} + @media screen and (max-width: 768px) { + .sidebar-hidden{ + display: none; + } + .sidebar { + position: sticky; + top: 10px; + z-index: 5; + } + .sidebar-heading { + padding-top: 1rem; + } .sidebar-components { - flex-flow: row wrap; + flex-direction: column; + align-items: start; + height: 200vh; + overflow-y: auto; + } + .rotation { + transform: rotate(180deg); + } + .toggle-list { + display: block; + transition: 0.4s; } } diff --git a/components/modals.css b/components/modals.css index 8e5b72d..06a7fbd 100644 --- a/components/modals.css +++ b/components/modals.css @@ -11,7 +11,9 @@ align-items: center; justify-content: center; } - +.demo-modal{ + visibility: hidden; +} .gentle-modal-container.active-modal { display: flex; } diff --git a/documentation/alerts.html b/documentation/alerts.html index 1b7e203..21309e7 100644 --- a/documentation/alerts.html +++ b/documentation/alerts.html @@ -36,8 +36,13 @@