chore: optimize onboarding component style (#2235)

This commit is contained in:
JimmFly 2023-05-05 11:26:40 +08:00 committed by GitHub
parent 4a50fe584c
commit de0b300aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,6 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
open={open}
onClose={handleClose}
wrapperPosition={['center', 'center']}
hideBackdrop
>
<ModalWrapper width={545} height={442} data-testid="onboarding-modal">
<ModalCloseButton
@ -60,7 +59,7 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
onClick={() => setStep(1)}
data-testid="onboarding-modal-next-button"
>
Next Tip Please !
Next
</Button>
</div>
</div>

View File

@ -39,6 +39,6 @@ export const buttonStyle = style({
padding: '4 20px',
':hover': {
backgroundColor: 'var(--affine-primary-color)',
color: 'var(--affine-text-primary-color)',
color: 'var(--affine-white)',
},
});