Page MenuHomePhabricator

D6219.id20761.diff
No OneTemporary

D6219.id20761.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 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

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)

Event Timeline