fix: align widget accessibility and locales

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-13 19:54:42 +02:00
1 parent d880c4a281
commit 6c8dbc182f
11 files changed
+46 -46

No files matched your search

@@ -12,7 +12,7 @@ import {
SimpleGrid,
Stack,
Text,
TooltipFloating,
Tooltip,
UnstyledButton,
} from "@mantine/core";
import { IconBook, IconCalendar, IconClock, IconStarFilled } from "@tabler/icons-react";
@@ -88,10 +88,11 @@ const Item = ({ item, options, isAdvanced, width, height }: ItemProps) => {
const showSide = isAdvanced || (!isTiny && (options.showType || options.showSource));
return (
<TooltipFloating
<Tooltip
label={item.description}
w={300}
multiline
events={{ hover: true, focus: true, touch: true }}
disabled={
isAdvanced ||
item.description === undefined ||
@@ -221,7 +222,7 @@ const Item = ({ item, options, isAdvanced, width, height }: ItemProps) => {
)}
</Group>
</UnstyledButton>
</TooltipFloating>
</Tooltip>
);
};