Merge pull request #1337 from gradido/bold-menu-item-on-current-page

bold text if acive page
This commit is contained in:
Alexander Friedland 2022-01-24 17:39:34 +01:00 committed by GitHub
commit 4e17ad2bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<p></p>
<div class="mb-6">
<b-nav vertical class="w-200">
<b-nav-item to="/overview" class="mb-3" active>
<b-nav-item to="/overview" class="mb-3">
<b-icon icon="house" aria-hidden="true"></b-icon>
{{ $t('overview') }}
</b-nav-item>
@ -52,3 +52,9 @@ export default {
},
}
</script>
<style>
#component-sidebar .active,
.component-navbar .active {
font-weight: bold;
}
</style>