fix(ui): size the alerts panel to the phone viewport
This commit is contained in:
1 parent
666d8c1b6e
commit
b0043ea0ed
1 file changed
+1
-1
@@ -36,7 +36,7 @@ function failedDeliveries(alert: OperatorAlert): number {
|
||||
</Badge>
|
||||
</Button>
|
||||
</PopoverTrigger>
|
||||
<PopoverContent align="end" class="w-96 max-w-[calc(100vw-1.5rem)] p-0">
|
||||
<PopoverContent align="end" :collision-padding="8" class="w-[calc(100vw-1rem)] max-w-none p-0 sm:w-96">
|
||||
<p v-if="failed" class="px-3 py-6 text-center text-sm text-danger" role="alert">Alerts could not be loaded.</p>
|
||||
<p v-else-if="!groups.length" class="px-3 py-6 text-center text-sm text-fg-subtle">No alerts.</p>
|
||||
<div v-else class="max-h-96 overflow-y-auto">
|
||||
|
||||
Reference in new issue
Block a user