mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-11 04:19:59 +03:00
chore: optimize onboarding component style (#2235)
This commit is contained in:
parent
4a50fe584c
commit
de0b300aca
@ -27,7 +27,6 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
|
|||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
wrapperPosition={['center', 'center']}
|
wrapperPosition={['center', 'center']}
|
||||||
hideBackdrop
|
|
||||||
>
|
>
|
||||||
<ModalWrapper width={545} height={442} data-testid="onboarding-modal">
|
<ModalWrapper width={545} height={442} data-testid="onboarding-modal">
|
||||||
<ModalCloseButton
|
<ModalCloseButton
|
||||||
@ -60,7 +59,7 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
|
|||||||
onClick={() => setStep(1)}
|
onClick={() => setStep(1)}
|
||||||
data-testid="onboarding-modal-next-button"
|
data-testid="onboarding-modal-next-button"
|
||||||
>
|
>
|
||||||
Next Tip Please !
|
Next
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,6 +39,6 @@ export const buttonStyle = style({
|
|||||||
padding: '4 20px',
|
padding: '4 20px',
|
||||||
':hover': {
|
':hover': {
|
||||||
backgroundColor: 'var(--affine-primary-color)',
|
backgroundColor: 'var(--affine-primary-color)',
|
||||||
color: 'var(--affine-text-primary-color)',
|
color: 'var(--affine-white)',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user