Tablet cleanup

This commit is contained in:
Nicolas Mowen 2024-09-09 16:56:21 -06:00
parent 75bab2d601
commit 1df2610b21
2 changed files with 5 additions and 3 deletions

View File

@ -477,7 +477,7 @@ function ZoneFilterButton({
<div <div
className={`hidden md:block ${selectedZones?.length ? "text-selected-foreground" : "text-primary"}`} className={`hidden md:block ${selectedZones?.length ? "text-selected-foreground" : "text-primary"}`}
> >
Filter {selectedZones?.length ? `${selectedZones.length} Zones` : "All Zones"}
</div> </div>
</Button> </Button>
); );
@ -654,7 +654,9 @@ function SubFilterButton({
<div <div
className={`hidden md:block ${selectedSubLabels?.length ? "text-selected-foreground" : "text-primary"}`} className={`hidden md:block ${selectedSubLabels?.length ? "text-selected-foreground" : "text-primary"}`}
> >
Filter {selectedSubLabels?.length
? `${selectedSubLabels.length} Sub Labels`
: "All Sub Labels"}
</div> </div>
</Button> </Button>
); );

View File

@ -116,7 +116,7 @@ export default function SearchView({
config?.semantic_search?.enabled config?.semantic_search?.enabled
? "justify-between" ? "justify-between"
: "justify-center", : "justify-center",
isMobileOnly && "h-20 flex-wrap gap-2", isMobileOnly && "h-[88px] flex-wrap gap-2",
)} )}
> >
{config?.semantic_search?.enabled && ( {config?.semantic_search?.enabled && (