mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
made one-click-button arbitrary long to accompany arbitrary long custom names
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
a50ad6e6c8
commit
81c1df2a6d
2 changed files with 7 additions and 5 deletions
3
src/components/landing/pages/login/login.scss
Normal file
3
src/components/landing/pages/login/login.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.social-button-container {
|
||||
min-width: 30%;
|
||||
}
|
|
@ -7,6 +7,7 @@ import {ViaLdap} from "./auth/via-ldap";
|
|||
import {useSelector} from "react-redux";
|
||||
import {ApplicationState} from "../../../../redux";
|
||||
import {ViaOpenId} from "./auth/via-open id";
|
||||
import "./login.scss";
|
||||
|
||||
const Login: React.FC = () => {
|
||||
useTranslation();
|
||||
|
@ -55,17 +56,15 @@ const Login: React.FC = () => {
|
|||
.filter((value) => authProviders[value])
|
||||
.map((value) => {
|
||||
return (
|
||||
<Col
|
||||
xs={12}
|
||||
md={4}
|
||||
className="p-2 d-flex flex-column"
|
||||
<div
|
||||
className="p-2 d-flex flex-column social-button-container"
|
||||
key={value}
|
||||
>
|
||||
<ViaOneClick
|
||||
oneClickType={value}
|
||||
optionalName={oneClickCustomName(value)}
|
||||
/>
|
||||
</Col>
|
||||
</div>
|
||||
)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue