Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorzzossig <zzossig@gmail.com>2020-02-16 21:55:32 +0300
committerzzossig <zzossig@gmail.com>2020-02-16 21:55:32 +0300
commit33bf85a225d3b94acffd15660d26b1b5c754d77c (patch)
treed37d8999d8c6ecf31434f248568c8d68ed438dd0 /assets
parentd553da2d0debbcd0e79da824eba4b039aeab0c05 (diff)
[bug fix] navbar dropdown positioning
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/components/_search.scss1
-rw-r--r--assets/sass/layout/_navigation.scss8
2 files changed, 7 insertions, 2 deletions
diff --git a/assets/sass/components/_search.scss b/assets/sass/components/_search.scss
index 581b15a..4f7955e 100644
--- a/assets/sass/components/_search.scss
+++ b/assets/sass/components/_search.scss
@@ -352,6 +352,7 @@
@include themify($themes) {
color: themed('burger-menu-color');
background-color: themed('navbar-background-color');
+ border-bottom: 1px solid themed('navbar-border-bottom-color');
@include on-event {
color: themed('link-hover');
}
diff --git a/assets/sass/layout/_navigation.scss b/assets/sass/layout/_navigation.scss
index 7d0f49d..587447c 100644
--- a/assets/sass/layout/_navigation.scss
+++ b/assets/sass/layout/_navigation.scss
@@ -47,11 +47,12 @@
@include themify($themes) {
background-color: themed('navbar-background-color') !important;
+ border-bottom: 1px solid themed('navbar-border-bottom-color') !important;
@include on-event {
background-color: themed('navbar-menu-hover-background-color');
}
}
-
+
&[data-ani="true"] {
@media only screen and (min-width: 769px) {
@for $i from 1 through 8 {
@@ -91,6 +92,7 @@
@include justify-content(flex-end);
@include themify($themes) {
background: themed('navbar-background-color');
+ border-bottom: 1px solid themed('navbar-border-bottom-color');
}
span {
@@ -343,7 +345,9 @@
display: none;
}
- .dropdown {
+ .dropdown {
+ position: relative;
+
@include flexbox();
@include align-items(center);
@include justify-content(center);