chore: optimize onboarding component style (#2235)

This commit is contained in:
JimmFly authored and GitHub committed 2023-05-04 22:26:40 -05:00
1 parent 4a50fe584c
commit de0b300aca
2 files changed
+2 -3

No files matched your search

@@ -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)',
}, },
}); });