fix(sidebar): clip horizontal overflow on profile sheets
Defensive guard against content (long addresses, code spans, etc.) forcing a horizontal scroll inside the hamburger / profile sheet. The root cause for individual cards is addressed separately. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4f7a5dcd88
commit
2c7597c25f
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ const open = ref(false)
|
|||
</template>
|
||||
</button>
|
||||
</SheetTrigger>
|
||||
<SheetContent side="bottom" class="h-[90vh] overflow-y-auto">
|
||||
<SheetContent side="bottom" class="h-[90vh] overflow-y-auto overflow-x-hidden">
|
||||
<ProfileSheetContent />
|
||||
</SheetContent>
|
||||
</Sheet>
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ function handleClick(item: SidebarNavItem) {
|
|||
<Menu class="w-5 h-5" />
|
||||
</button>
|
||||
</SheetTrigger>
|
||||
<SheetContent side="right" class="w-80 sm:w-96 overflow-y-auto">
|
||||
<SheetContent side="right" class="w-80 sm:w-96 max-w-full overflow-y-auto overflow-x-hidden">
|
||||
<ProfileSheetContent>
|
||||
<template v-if="props.items.length" #app-nav>
|
||||
<nav class="mt-4 space-y-1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue