mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-05 14:45:08 +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")}>
|
||||
<Dialog>
|
||||
<DialogTrigger asChild>
|
||||
<Button size={isMobile ? "icon" : "default"}>
|
||||
<Button>
|
||||
<PlusIcon /> {!isMobile && "New Project"}<span className="sr-only">New Project</span>
|
||||
</Button>
|
||||
</DialogTrigger>
|
||||
@ -562,8 +562,7 @@ export default function Home(): ReactNode {
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<Toggle pressed={descendingSort} onPressedChange={(pressed) => setDescendingSort(pressed)}>
|
||||
{descendingSort ? <ArrowDownIcon /> : <ArrowUpIcon />}
|
||||
<span className="sr-only">{descendingSort ? "Switch to Ascending Sorting" : "Switch to Descending Sorting"}</span>
|
||||
{descendingSort ? <ArrowDownIcon /> : <ArrowUpIcon />}<span className="sr-only">{descendingSort ? "Switch to Ascending Sorting" : "Switch to Descending Sorting"}</span>
|
||||
</Toggle>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>
|
||||
|
Loading…
Reference in New Issue
Block a user