Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit e5103db

Browse files
authored
Merge pull request #148 from JKrupinski/feature/67
Add wrapper class, remove white spaces and styles
2 parents 1a7d443 + 0719ce3 commit e5103db

File tree

1 file changed

+14
-24
lines changed

1 file changed

+14
-24
lines changed

dashboard/src/components/Navbar.vue

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<template>
2-
<b-navbar
2+
<b-navbar
33
fixed-top
44
shadow
55
spaced
6+
wrapper-class="container"
67
:close-on-click="false"
78
>
89
<template #brand>
@@ -24,22 +25,22 @@
2425
:to="{ name: 'nft'}">
2526
<strong>{{ $t('Gallery') }}</strong>
2627
</b-navbar-item>
27-
<b-navbar-dropdown
28+
<b-navbar-dropdown
2829
arrowless
2930
collapsible
3031
label="Extra">
31-
<b-navbar-item
32+
<b-navbar-item
3233
tag="router-link"
3334
:to="{ name: 'rmrkCredit' }">
3435
{{ $t('Credit') }}
3536
</b-navbar-item>
36-
<b-navbar-item
37+
<b-navbar-item
3738
tag="router-link"
3839
:to="{ name: 'settings'}">
3940
{{ $t('Settings') }}
4041
</b-navbar-item>
4142
</b-navbar-dropdown>
42-
<!-- translations does not resolve in this,
43+
<!-- translations does not resolve in this,
4344
but it works in FAQ -->
4445
<!-- <b-navbar-item
4546
v-for="row in navbar"
@@ -49,11 +50,11 @@
4950
<strong v-if="row.strong">{{row.name}}</strong>
5051
<small v-else>{{row.name}}</small>
5152
</b-navbar-item> -->
52-
<!-- <b-navbar-dropdown
53+
<!-- <b-navbar-dropdown
5354
arrowless
5455
collapsible
5556
label="Extra">
56-
<b-navbar-item
57+
<b-navbar-item
5758
v-for="row in navbarExtra"
5859
v-bind:key="row.name"
5960
:tag="row.tag"
@@ -67,15 +68,15 @@
6768
<div class="buttons">
6869
<b-field grouped>
6970
<b-button tag="router-link"
70-
:to="{ name: 'rmrkFaq' }" >
71-
F.A.Q.
71+
:to="{ name: 'rmrkFaq' }" >
72+
F.A.Q.
7273
</b-button>
73-
<LocaleChanger />
74-
<b-button tag="a"
74+
<LocaleChanger />
75+
<b-button tag="a"
7576
type="is-info" outlined
7677
href="https://twitter.com/Kodadot">
77-
<b-icon
78-
pack="fab"
78+
<b-icon
79+
pack="fab"
7980
icon="twitter">
8081
</b-icon>
8182
<strong>KodaDot</strong>
@@ -156,14 +157,3 @@ export default class NavbarMenu extends Vue {
156157
// }
157158
}
158159
</script>
159-
<style>
160-
/* .navbar-brand {
161-
padding-left: 8rem;
162-
} */
163-
.navbar-start {
164-
padding-left: 8rem;
165-
}
166-
.navbar-end {
167-
padding-right: 8rem;
168-
}
169-
</style>

0 commit comments

Comments
 (0)