From 2156abdaece8ea905f2f917a57c492490a30bbb2 Mon Sep 17 00:00:00 2001 From: somrat-gyver Date: Sun, 5 Jul 2020 09:21:01 +0600 Subject: [PATCH] fix dropdown issue --- assets/css/style.css | 55 ++------------------------------ layouts/partials/default.html | 2 +- layouts/partials/navigation.html | 20 ++++++------ 3 files changed, 14 insertions(+), 63 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index d0293e3..4311212 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -272,56 +272,7 @@ pre { color: var(--white-color) !important; } -.mb-10 { - margin-bottom: 10px !important; -} - -.mb-20 { - margin-bottom: 20px !important; -} - -.mb-30 { - margin-bottom: 30px !important; -} - -.mb-40 { - margin-bottom: 40px !important; -} - -.mb-50 { - margin-bottom: 50px !important; -} - -.mb-60 { - margin-bottom: 60px !important; -} - -.mb-70 { - margin-bottom: 70px !important; -} - -.mb-80 { - margin-bottom: 80px !important; -} - -.mb-90 { - margin-bottom: 90px !important; -} - -.mb-100 { - margin-bottom: 100px !important; -} - -header.sticky-top { - overflow: hidden; - z-index: 9999; -} - -.zindex-1 { - z-index: 1; -} - -.top-100 { +.top-50 { top: 50px; } @@ -355,10 +306,10 @@ header.sticky-top { .navbar .dropdown-menu { box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12); - padding: 15px; + padding: 15px 0px; border: 0; top: 40px; - left: -25px; + left: -35px; border-radius: 0; display: block; visibility: hidden; diff --git a/layouts/partials/default.html b/layouts/partials/default.html index d627439..8075bed 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -3,7 +3,7 @@