Skip to content

Commit

Permalink
prune
Browse files Browse the repository at this point in the history
  • Loading branch information
mark86092 committed Sep 12, 2023
1 parent c8d6333 commit 51f8fb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 1 addition & 5 deletions src/components/common/LoginModal/LoginModal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ $above-desktop: 1025px;
}

.login-tips {
font-size: 0.8em;
font-size: 0.825em;
color: #969696;
margin-top: 0.8em;
line-height: 1.5em;
}

.loginTitle {
margin-bottom: 34px;
}
5 changes: 1 addition & 4 deletions src/components/common/LoginModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useCallback, useContext, useEffect } from 'react';
import { useIsLoggedIn } from 'hooks/auth';
import LoginModalContext from 'contexts/LoginModalContext';
import Modal from 'common/Modal.js';
import { P } from 'common/base';
import FacebookLoginButton from 'common/Login/FacebookLoginButton';
import GoogleLoginButton from 'common/Login/GoogleLoginButton';
import styles from './LoginModal.module.css';
Expand All @@ -26,9 +25,7 @@ const LoginModal = () => {
return (
<Modal isOpen={isOpen} hasClose close={close} closableOnClickOutside>
<div className={styles.container}>
<P className={styles.loginTitle} center bold size="l">
登入
</P>
<h2 style={{ fontSize: '1.4em', marginBottom: '34px' }}>登入</h2>
<div className={styles.loginBtnContainer}>
<FacebookLoginButton />
<GoogleLoginButton />
Expand Down

0 comments on commit 51f8fb8

Please sign in to comment.