Skip to content

Commit 9bdf60b

Browse files
maximilianmikusfago
authored andcommitted
LDP-697 Add minimal styling to main menu.
1 parent 3d02ab4 commit 9bdf60b

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

scaffold/components/global/MainNavigation.vue

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ul class="menu">
2+
<ul class="main-menu">
33
<li
44
v-for="menuItem in menus.main"
55
:key="menuItem.key"
@@ -32,7 +32,18 @@ export default {
3232
</script>
3333

3434
<style lang="css" scoped>
35-
.nuxt-link-active {
36-
border-bottom: 2px solid #ddd;
37-
}
35+
.main-menu {
36+
display: flex;
37+
list-style: none;
38+
}
39+
40+
.item {
41+
margin: 0 1rem;
42+
text-decoration: none;
43+
color: #222;
44+
}
45+
46+
.nuxt-link-active {
47+
border-bottom: 2px solid aquamarine;
48+
}
3849
</style>

0 commit comments

Comments
 (0)