Page MenuHomePhabricator

D6219.id20819.diff
No OneTemporary

D6219.id20819.diff

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 8px;
+ 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

Mime Type
text/plain
Expires
Sat, Nov 16, 10:39 PM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2501689
Default Alt Text
D6219.id20819.diff (1 KB)

Event Timeline