mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-07 06:14:00 +00:00
1 parent
b9bba28813
commit
d7749fdaa8
2 files changed
+6
-2
No files matched your search
@@ -42,6 +42,7 @@
|
||||
|
||||
&.active {
|
||||
font-weight: bold !important;
|
||||
color: $sta-menu-text-active !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,8 +51,11 @@
|
||||
font-size: #{$sta-font-size-small}px;
|
||||
}
|
||||
|
||||
.dropdown-item.active {
|
||||
// Note: dedicated `i18n-active` class to prevent ScrollSpy removing `active` class from language chooser.
|
||||
.dropdown-item.active,
|
||||
.i18n-active {
|
||||
font-weight: bold;
|
||||
color: $sta-menu-text-active !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
<i class="fas fa-globe mr-1" aria-hidden="true"></i><span class="d-none d-lg-inline">{{ index site.Data.i18n.languages .Lang }}</span>
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-item active font-weight-bold">
|
||||
<div class="dropdown-item i18n-active font-weight-bold">
|
||||
<span>{{ index site.Data.i18n.languages .Lang }}</span>
|
||||
</div>
|
||||
{{ range .Translations }}
|
||||
|
||||
Reference in new issue
Block a user