mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
made horizontal grid for buttons
This commit is contained in:
parent
be62a59860
commit
fca146048e
1 changed files with 19 additions and 6 deletions
|
@ -15,6 +15,7 @@ import * as styles from './styles.scss';
|
||||||
import * as ACTIONS from '~/redux/auth/actions';
|
import * as ACTIONS from '~/redux/auth/actions';
|
||||||
import * as MODAL_ACTIONS from '~/redux/modal/actions';
|
import * as MODAL_ACTIONS from '~/redux/modal/actions';
|
||||||
import { ISocialProvider } from '~/redux/auth/types';
|
import { ISocialProvider } from '~/redux/auth/types';
|
||||||
|
import { Grid } from '~/components/containers/Grid';
|
||||||
|
|
||||||
const mapStateToProps = selectAuthLogin;
|
const mapStateToProps = selectAuthLogin;
|
||||||
|
|
||||||
|
@ -91,13 +92,25 @@ const LoginDialogUnconnected: FC<IProps> = ({
|
||||||
<span>Войти</span>
|
<span>Войти</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button color="outline" iconLeft="google" type="button" onClick={openOauthWindow('google')}>
|
<Grid columns="repeat(2, 1fr)">
|
||||||
<span>Google</span>
|
<Button
|
||||||
</Button>
|
color="outline"
|
||||||
|
iconLeft="google"
|
||||||
|
type="button"
|
||||||
|
onClick={openOauthWindow('google')}
|
||||||
|
>
|
||||||
|
<span>Google</span>
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button color="outline" iconLeft="vk" type="button" onClick={openOauthWindow('vkontakte')}>
|
<Button
|
||||||
<span>Вконтакте</span>
|
color="outline"
|
||||||
</Button>
|
iconLeft="vk"
|
||||||
|
type="button"
|
||||||
|
onClick={openOauthWindow('vkontakte')}
|
||||||
|
>
|
||||||
|
<span>Вконтакте</span>
|
||||||
|
</Button>
|
||||||
|
</Grid>
|
||||||
</Group>
|
</Group>
|
||||||
),
|
),
|
||||||
[openOauthWindow]
|
[openOauthWindow]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue