Skip to content

Commit

Permalink
fix(time-slider): Fix time slider stack icon
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-azma committed Nov 14, 2023
1 parent 097eb9e commit b9a14ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,13 @@ export function IconStack({ layerPath, onIconClick, onStackIconClick }: TypeIcon
<Box sx={sxClasses.legendIcon}>{iconImg && <img alt="icon" src={iconImg} style={sxClasses.maxIconImg} />}</Box>
</IconButton>
</Box>
) : null;
) : (
<Box tabIndex={0} onClick={onIconClick} sx={sxClasses.stackIconsBox} onKeyPress={(e) => onStackIconClick?.(e)}>
<IconButton sx={sxClasses.iconPreviewStacked} color="primary" size="small" tabIndex={-1}>
<Box sx={sxClasses.legendIconTransparent}>
<BrowserNotSupportedIcon />
</Box>
</IconButton>
</Box>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const getSxClasses = (theme: Theme) => ({
},
gridContainer: { paddingLeft: '1rem', paddingRight: '1rem' },
listPrimaryText: {
marginLeft: '0.62rem',
minWidth: '0',
padding: '1.3rem 0',
flex: '1 1 auto',
Expand Down

0 comments on commit b9a14ab

Please sign in to comment.