mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-11-26 10:06:31 +00:00
fix(webui): toasts above sheets; drop unreachable alias helpers
Stack the toast viewport on perfect-design's --z-toast token so it sits above Sheet overlays, and add a harness check that the toast is the topmost element at its centre while a sheet is open. Delete useAliasNames, lib/alias and its spec, which nothing imports since the shadcn migration removed AliasBadge.
This commit is contained in:
@@ -47,7 +47,7 @@ function onDismiss(toast: Toast): void {
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="pointer-events-none fixed inset-x-0 bottom-0 z-50 flex flex-col-reverse gap-2 p-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] sm:inset-x-auto sm:right-4 sm:bottom-4 sm:w-96"
|
||||
class="pointer-events-none fixed inset-x-0 bottom-0 z-(--z-toast) flex flex-col-reverse gap-2 p-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] sm:inset-x-auto sm:right-4 sm:bottom-4 sm:w-96"
|
||||
>
|
||||
<div aria-live="assertive" class="flex flex-col-reverse gap-2">
|
||||
<TransitionGroup
|
||||
|
||||
Reference in New Issue
Block a user