Skip to content

Commit

Permalink
update navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
sajadevo committed Aug 19, 2022
1 parent ec909ae commit 6cdb75a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/examples/navbars/NavbarDefault.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@ const props = defineProps({
default: () => ({
route: "https://www.creative-tim.com/product/vue-material-kit",
color: "bg-gradient-success",
label: "Free Download",
}),
label: "Free Download"
})
},
transparent: {
type: Boolean,
default: false,
default: false
},
light: {
type: Boolean,
default: false,
default: false
},
dark: {
type: Boolean,
default: false,
default: false
},
sticky: {
type: Boolean,
default: false,
default: false
},
darkText: {
type: Boolean,
default: false,
},
default: false
}
});
// set arrow color
Expand Down Expand Up @@ -98,7 +98,7 @@ watch(
'my-3 blur border-radius-lg z-index-3 py-2 shadow py-2 start-0 end-0 mx-4 position-absolute mt-4':
props.sticky,
'navbar-light bg-white py-3': props.light,
' navbar-dark bg-gradient-dark z-index-3 py-3': props.dark,
' navbar-dark bg-gradient-dark z-index-3 py-3': props.dark
}"
>
<div
Expand All @@ -113,7 +113,7 @@ watch(
:class="[
(props.transparent && textDark.value) || !props.transparent
? 'text-dark font-weight-bolder ms-sm-3'
: 'text-white font-weight-bolder ms-sm-3',
: 'text-white font-weight-bolder ms-sm-3'
]"
:to="{ name: 'presentation' }"
rel="tooltip"
Expand Down Expand Up @@ -188,13 +188,13 @@ watch(
/>
</a>
<div
class="dropdown-menu dropdown-menu-animation ms-n3 dropdown-xl p-3 border-radius-xl mt-0 mt-lg-3"
class="dropdown-menu dropdown-menu-animation ms-n3 dropdown-md p-3 border-radius-xl mt-0 mt-lg-3"
aria-labelledby="dropdownMenuPages"
>
<div class="row d-none d-lg-block">
<div class="col-12 px-4 py-2">
<div class="row">
<div class="col-4 position-relative">
<div class="position-relative">
<div
class="dropdown-header text-dark font-weight-bolder d-flex align-items-center px-1"
>
Expand Down

0 comments on commit 6cdb75a

Please sign in to comment.