forked from Github/frigate
Misc UI fixes (#11237)
* add close button to all toasters * check if persistent options are loaded * add id to prevent message duplication in bottom bar
This commit is contained in:
@@ -18,6 +18,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
|
||||
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary",
|
||||
cancelButton:
|
||||
"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
|
||||
closeButton:
|
||||
"group-[.toast]:bg-secondary border-primary border-[1px]",
|
||||
success:
|
||||
"group toast group-[.toaster]:bg-success group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user