mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-06 05:55:07 +00:00
removed spaces before screen reader only elements
This commit is contained in:
parent
e08151b7c7
commit
f871d4d8d7
@ -509,7 +509,7 @@ export default function Home(): ReactNode {
|
|||||||
<div className={cn("flex flex-row gap-2 items-center w-full", !isMobile && "justify-between")}>
|
<div className={cn("flex flex-row gap-2 items-center w-full", !isMobile && "justify-between")}>
|
||||||
<Dialog>
|
<Dialog>
|
||||||
<DialogTrigger asChild>
|
<DialogTrigger asChild>
|
||||||
<Button size={isMobile ? "icon" : "default"}>
|
<Button>
|
||||||
<PlusIcon /> {!isMobile && "New Project"}<span className="sr-only">New Project</span>
|
<PlusIcon /> {!isMobile && "New Project"}<span className="sr-only">New Project</span>
|
||||||
</Button>
|
</Button>
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
@ -562,8 +562,7 @@ export default function Home(): ReactNode {
|
|||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<Toggle pressed={descendingSort} onPressedChange={(pressed) => setDescendingSort(pressed)}>
|
<Toggle pressed={descendingSort} onPressedChange={(pressed) => setDescendingSort(pressed)}>
|
||||||
{descendingSort ? <ArrowDownIcon /> : <ArrowUpIcon />}
|
{descendingSort ? <ArrowDownIcon /> : <ArrowUpIcon />}<span className="sr-only">{descendingSort ? "Switch to Ascending Sorting" : "Switch to Descending Sorting"}</span>
|
||||||
<span className="sr-only">{descendingSort ? "Switch to Ascending Sorting" : "Switch to Descending Sorting"}</span>
|
|
||||||
</Toggle>
|
</Toggle>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent>
|
<TooltipContent>
|
||||||
|
Loading…
Reference in New Issue
Block a user