From 51be3fb130d411097f3bcf2485cd99b794bbe484 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 9 Oct 2024 12:55:55 +0530 Subject: [PATCH] Remove hover tooltip so that people behave same as collections --- .../new/photos/components/gallery/BarImpl.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/web/packages/new/photos/components/gallery/BarImpl.tsx b/web/packages/new/photos/components/gallery/BarImpl.tsx index 288ddd95c6..e7b0d40cbb 100644 --- a/web/packages/new/photos/components/gallery/BarImpl.tsx +++ b/web/packages/new/photos/components/gallery/BarImpl.tsx @@ -27,7 +27,6 @@ import NavigateNextIcon from "@mui/icons-material/NavigateNext"; import PeopleIcon from "@mui/icons-material/People"; import PushPin from "@mui/icons-material/PushPin"; import { Box, IconButton, Stack, Typography, styled } from "@mui/material"; -import Tooltip from "@mui/material/Tooltip"; import { t } from "i18next"; import React, { memo, @@ -528,13 +527,11 @@ const CardText: React.FC = ({ text }) => ( ); const TruncatedText: React.FC = ({ text }) => ( - - - - {text} - - - + + + {text} + + ); const Ellipsized = styled(Typography)` @@ -598,7 +595,7 @@ const PersonCard: React.FC = ({ activePerson, onSelectPerson, }) => ( - +
= ({ {person.name && } {activePerson?.id === person.id && } - +
);