mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-09 01:17:06 +02:00
fix: adjust favorite icon placement (#8930)
This commit is contained in:
parent
152dd76f02
commit
4b443e2a57
@ -30,7 +30,7 @@ export const FavoriteIconHeader: VFC<IFavoriteIconHeaderProps> = ({
|
|||||||
>
|
>
|
||||||
<IconButton
|
<IconButton
|
||||||
sx={{
|
sx={{
|
||||||
mx: -2.75,
|
mx: -0.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(0),
|
paddingLeft: theme.spacing(2),
|
||||||
paddingRight: theme.spacing(1),
|
paddingRight: theme.spacing(0.5),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledIconButton = styled(IconButton)(({ theme }) => ({
|
const StyledIconButton = styled(IconButton)(({ theme }) => ({
|
||||||
|
@ -12,8 +12,7 @@ interface IRowSelectCellProps {
|
|||||||
const StyledBoxCell = styled(Box)(({ theme }) => ({
|
const StyledBoxCell = styled(Box)(({ theme }) => ({
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
paddingLeft: theme.spacing(1),
|
marginRight: theme.spacing(-2),
|
||||||
paddingRight: theme.spacing(0),
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const RowSelectCell: FC<IRowSelectCellProps> = ({
|
export const RowSelectCell: FC<IRowSelectCellProps> = ({
|
||||||
|
Loading…
Reference in New Issue
Block a user