diff options
author | Vitaly Takmazov | 2018-12-12 13:15:17 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | 0c31e9ae31403beb3c390e864f0aae653240868d (patch) | |
tree | 136e8ef5b9f82d8a2974186a144840c2c4ae6def /vnext/src/components | |
parent | 6e9a031a75d383b9d28fc7c391b8b892df19fd64 (diff) |
Button styling
Diffstat (limited to 'vnext/src/components')
-rw-r--r-- | vnext/src/components/Button.css | 4 | ||||
-rw-r--r-- | vnext/src/components/Settings.js | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/vnext/src/components/Button.css b/vnext/src/components/Button.css index 85c9e652..7394583b 100644 --- a/vnext/src/components/Button.css +++ b/vnext/src/components/Button.css @@ -6,4 +6,8 @@ display: inline-block; margin: 5px; padding: 4px 10px; +} +.Button:hover { + background: #f8f8f8; + border-bottom: 1px solid #ff339a; }
\ No newline at end of file diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js index 62115455..94052b2e 100644 --- a/vnext/src/components/Settings.js +++ b/vnext/src/components/Settings.js @@ -164,7 +164,7 @@ export default class Settings extends React.Component { <p>Add account:<br /> <input type="text" name="account" /> <input type="hidden" name="page" value="email-add" /> - <input type="submit" value=" Add " /> + <Button onClick={this.addEmail}>Add</Button> </p> </form> <form> @@ -178,7 +178,8 @@ export default class Settings extends React.Component { </label> <br /> {me.emails.length > 1 && - <p><input type="hidden" name="page" value="email-del" /><input type="submit" value=" Delete " /></p> + <p><input type="hidden" name="page" value="email-del" /> + <input type="submit" value=" Delete " /></p> } </React.Fragment> ) : '-' |