Skip to content

Commit a58391c

Browse files
committed
Fix: Update for Catalog Btns
Signed-off-by: vr-varad <[email protected]>
1 parent 14ea869 commit a58391c

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

src/custom/CatalogFilterSection/CatalogFilterSidebar.tsx

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,10 @@ import { Box, Drawer, Typography } from '../../base';
55
import { CloseIcon } from '../../icons';
66
import { darkTeal } from '../../theme';
77
import { darkModalGradient, lightModalGradient } from '../../theme/colors/colors';
8+
import { CustomTooltip } from '../CustomTooltip';
89
import { CloseBtn } from '../Modal';
910
import CatalogFilterSidebarState from './CatalogFilterSidebarState';
10-
import {
11-
FilterButton,
12-
FilterDrawerDiv,
13-
FilterText,
14-
FiltersCardDiv,
15-
FiltersDrawerHeader
16-
} from './style';
11+
import { FilterButton, FilterDrawerDiv, FiltersCardDiv, FiltersDrawerHeader } from './style';
1712

1813
export interface FilterOption {
1914
value: string;
@@ -109,13 +104,14 @@ const CatalogFilterSidebar: React.FC<CatalogFilterSidebarProps> = ({
109104
/>
110105
</FiltersCardDiv>
111106
<FilterDrawerDiv>
112-
<FilterButton variant="contained" onClick={handleDrawerOpen}>
113-
<FilterAltIcon
114-
style={{ height: '28px', width: '28px' }}
115-
fill={theme.palette.text.default}
116-
/>
117-
<FilterText>Filters</FilterText>
118-
</FilterButton>
107+
<CustomTooltip title="Filters" placement="bottom">
108+
<FilterButton variant="contained" onClick={handleDrawerOpen}>
109+
<FilterAltIcon
110+
style={{ height: '28px', width: '28px' }}
111+
fill={theme.palette.text.default}
112+
/>
113+
</FilterButton>
114+
</CustomTooltip>
119115

120116
<Drawer
121117
anchor="bottom"

src/custom/PerformersSection/PerformersToogleButton.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ const PerformersSectionButton: React.FC<PerformersSectionButtonProps> = ({ open,
2121
onClick={handleClick}
2222
sx={{
2323
height: '3.7rem',
24-
padding: '0.3rem 1rem 0.3rem 0.3rem'
24+
padding: '0.3rem'
2525
}}
2626
style={{
2727
backgroundColor: open ? undefined : theme.palette.background.constant?.disabled
2828
}}
2929
>
30-
<TropyIcon style={{ height: '2rem', width: '2rem', marginRight: '10px' }} />
31-
{open ? 'Hide Performers' : 'Show Performers'}
30+
<TropyIcon style={{ height: '2rem', width: '2rem' }} />
3231
</Button>
3332
</span>
3433
</CustomTooltip>

0 commit comments

Comments
 (0)