fix(web): hide the infographic label on list cards
The pie icon already identifies an infographic note, so the visible type name is only kept for screen readers.
This commit is contained in:
1 parent
fde6cf01ef
commit
b89618b1e3
1 file changed
+2
-2
@@ -415,9 +415,9 @@ export const MemoCard = ({
|
||||
) : null}
|
||||
</div>
|
||||
) : memo.infographic ? (
|
||||
<div className="flex items-center gap-1.5 text-xs text-slate-500">
|
||||
<div className="flex items-center text-xs text-slate-500">
|
||||
<PieChart className="h-3.5 w-3.5 shrink-0" aria-hidden="true" />
|
||||
<span>{t("infographic.name")}</span>
|
||||
<span className="sr-only">{t("infographic.name")}</span>
|
||||
</div>
|
||||
) : tableLabel ? (
|
||||
<div className="space-y-1.5">
|
||||
|
||||
Reference in new issue
Block a user