fix(NavigationMenu): remove w-full on root slot

Resolves #3000
This commit is contained in:
Benjamin Canac
2025-01-06 18:46:38 +01:00
parent 41dc11ceef
commit ef7ecd242f
7 changed files with 57 additions and 53 deletions

View File

@@ -115,7 +115,7 @@ props:
- label: Help
icon: i-lucide-circle-help
disabled: true
class: 'justify-center'
class: 'w-full justify-center'
---
::
@@ -329,7 +329,7 @@ props:
- label: Help
icon: i-lucide-circle-help
disabled: true
class: 'data-[orientation=horizontal]:border-b border-[var(--ui-border)] data-[orientation=vertical]:w-48'
class: 'data-[orientation=horizontal]:border-b border-[var(--ui-border)] data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-48'
---
::
@@ -349,6 +349,7 @@ Use the `color` prop to change the color of the NavigationMenu.
---
ignore:
- items
- class
external:
- items
props:
@@ -369,6 +370,7 @@ props:
badge: 3.8k
to: https://github.com/nuxt/ui
target: _blank
class: 'w-full'
---
::
@@ -380,6 +382,7 @@ Use the `variant` prop to change the variant of the NavigationMenu.
---
ignore:
- items
- class
external:
- items
props:
@@ -402,6 +405,7 @@ props:
badge: 3.8k
to: https://github.com/nuxt/ui
target: _blank
class: 'w-full'
---
::
@@ -496,7 +500,7 @@ props:
icon: i-lucide-file-text
description: Show a horizontal bar to indicate task progression.
to: /components/progress
class: 'justify-center'
class: 'w-full justify-center'
---
::
@@ -596,7 +600,7 @@ props:
icon: i-lucide-file-text
description: Show a horizontal bar to indicate task progression.
to: /components/progress
class: 'justify-center'
class: 'w-full justify-center'
---
::
@@ -688,7 +692,7 @@ props:
icon: i-lucide-file-text
description: Show a horizontal bar to indicate task progression.
to: /components/progress
class: 'justify-center'
class: 'w-full justify-center'
---
::