Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3257914
D6219.id20761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6219.id20761.diff
View Options
diff --git a/web/account/log-in-form.css b/web/account/log-in-form.css
--- a/web/account/log-in-form.css
+++ b/web/account/log-in-form.css
@@ -47,3 +47,21 @@
align-content: center;
margin: 0 4px;
}
+
+hr {
+ margin: 20px 0;
+ height: 0;
+ overflow: visible;
+ text-align: center;
+ border: none;
+ border-top: #ffffff33 solid 1px;
+}
+
+hr:after {
+ position: relative;
+ top: -12px;
+ padding: 0 12px;
+ color: white;
+ content: 'or';
+ background-color: #1f1f1fff;
+}
diff --git a/web/account/log-in-form.react.js b/web/account/log-in-form.react.js
--- a/web/account/log-in-form.react.js
+++ b/web/account/log-in-form.react.js
@@ -161,16 +161,19 @@
let siweButton;
if (isDev) {
siweButton = (
- <Button
- onClick={undefined}
- variant="filled"
- buttonColor={siweButtonColor}
- >
- <div className={css.ethereum_logo_container}>
- <FaEthereum />
- </div>
- Sign in with Ethereum
- </Button>
+ <>
+ <hr />
+ <Button
+ onClick={undefined}
+ variant="filled"
+ buttonColor={siweButtonColor}
+ >
+ <div className={css.ethereum_logo_container}>
+ <FaEthereum />
+ </div>
+ Sign in with Ethereum
+ </Button>
+ </>
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 9:28 PM (19 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2504355
Default Alt Text
D6219.id20761.diff (1 KB)
Attached To
Mode
D6219: [web] Add `<hr />` in `LogInForm` to separate out "password" and SIWE options
Attached
Detach File
Event Timeline
Log In to Comment