File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ defineExpose({
8
8
</script >
9
9
10
10
<template >
11
- <Menubar ref =" child-ref" >
11
+ <Menubar ref =" child-ref" breakpoint = " 1024px " >
12
12
<template v-if =" $slots .start " #start >
13
13
<slot name =" start" ></slot >
14
14
</template >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ onUnmounted(() => {
70
70
window .removeEventListener (' resize' , updateWidth);
71
71
});
72
72
watchEffect (() => {
73
- if (windowWidth .value > 768 ) {
73
+ if (windowWidth .value > 1024 ) {
74
74
mobileMenuOpen .value = false ;
75
75
}
76
76
});
@@ -111,7 +111,7 @@ watchEffect(() => {
111
111
</div >
112
112
</template >
113
113
<template #end >
114
- <div class =" hidden md :flex md: items-center md: ms-6" >
114
+ <div class =" hidden lg :flex items-center ms-6" >
115
115
<ToggleThemeButton
116
116
text
117
117
severity =" secondary"
@@ -139,15 +139,19 @@ watchEffect(() => {
139
139
</div >
140
140
</div >
141
141
142
- <!-- Hamburger -->
143
- <div class =" flex items-center md :hidden" >
142
+ <!-- Mobile Hamburger -->
143
+ <div class =" flex items-center lg :hidden" >
144
144
<div class =" relative" >
145
145
<Button
146
146
text
147
- rounded
148
147
severity =" secondary"
149
148
icon =" pi pi-bars"
150
149
@click =" mobileMenuOpen = true"
150
+ :pt =" {
151
+ icon: {
152
+ class: 'text-xl',
153
+ },
154
+ }"
151
155
/>
152
156
</div >
153
157
</div >
You can’t perform that action at this time.
0 commit comments