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:
parent
c18a35344f
commit
b6d4a5f9bc
@ -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',
|
||||||
|
@ -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 }) => ({
|
||||||
|
@ -214,7 +214,6 @@ export const ProjectFeatureToggles = ({
|
|||||||
enableSorting: false,
|
enableSorting: false,
|
||||||
enableHiding: false,
|
enableHiding: false,
|
||||||
meta: {
|
meta: {
|
||||||
align: 'center',
|
|
||||||
width: '1%',
|
width: '1%',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
@ -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> = ({
|
||||||
|
Loading…
Reference in New Issue
Block a user