1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-22 01:16:07 +02:00

feat: favorites take less space (#8888)

This commit is contained in:
Mateusz Kwasniewski 2024-11-29 10:12:31 +01:00 committed by GitHub
parent c18a35344f
commit b6d4a5f9bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View File

@ -30,7 +30,7 @@ export const FavoriteIconHeader: VFC<IFavoriteIconHeaderProps> = ({
> >
<IconButton <IconButton
sx={{ sx={{
mx: -0.75, mx: -2.75,
my: -1, my: -1,
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',

View File

@ -5,8 +5,8 @@ import StarBorderIcon from '@mui/icons-material/StarBorder';
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
const StyledCell = styled(Box)(({ theme }) => ({ const StyledCell = styled(Box)(({ theme }) => ({
paddingLeft: theme.spacing(2), paddingLeft: theme.spacing(0),
paddingRight: theme.spacing(0.5), paddingRight: theme.spacing(1),
})); }));
const StyledIconButton = styled(IconButton)(({ theme }) => ({ const StyledIconButton = styled(IconButton)(({ theme }) => ({

View File

@ -214,7 +214,6 @@ export const ProjectFeatureToggles = ({
enableSorting: false, enableSorting: false,
enableHiding: false, enableHiding: false,
meta: { meta: {
align: 'center',
width: '1%', width: '1%',
}, },
}), }),

View File

@ -12,8 +12,8 @@ interface IRowSelectCellProps {
const StyledBoxCell = styled(Box)(({ theme }) => ({ const StyledBoxCell = styled(Box)(({ theme }) => ({
display: 'flex', display: 'flex',
justifyContent: 'center', justifyContent: 'center',
paddingLeft: theme.spacing(2), paddingLeft: theme.spacing(1),
paddingRight: theme.spacing(1), paddingRight: theme.spacing(0),
})); }));
export const RowSelectCell: FC<IRowSelectCellProps> = ({ export const RowSelectCell: FC<IRowSelectCellProps> = ({