Tweak styling

This commit is contained in:
Manav Rathi
2024-09-27 18:44:53 +05:30
parent 2f27ae7b19
commit 72c93a1703
2 changed files with 11 additions and 2 deletions

View File

@@ -250,7 +250,10 @@ export const GalleryBarImpl: React.FC<GalleryBarImplProps> = ({
);
return (
<BarWrapper>
// Hide the bottom border if we're showing the empty state for people.
<BarWrapper
sx={people.length ? {} : { borderBlockEndColor: "transparent" }}
>
<Row1>
<ModeIndicator {...{ mode, onChangeMode }} />
{controls1}

View File

@@ -45,7 +45,13 @@ export const SearchResultsHeader: React.FC<SearchResultsHeaderProps> = ({
export const PeopleEmptyState: React.FC = () => (
<VerticallyCentered>
<Typography color="text.muted">
<Typography
color="text.muted"
sx={{
// Approximately compensate for the hidden section bar
paddingBlockEnd: "86px",
}}
>
{pt("People will appear here once indexing completes")}
</Typography>
</VerticallyCentered>