style(proxies): make "Test Latency" a fab like button

This commit is contained in:
Haishan 2019-01-05 22:02:06 +08:00
parent aab37ea7d4
commit 0cf6a17e2d
3 changed files with 8 additions and 7 deletions

View file

@ -39,7 +39,7 @@ export default function Proxies() {
<div>
<ContentHeader title="Proxies" />
<div>
<div className={s0.btnGroup}>
<div className={s0.fabgrp}>
<Button label="Test Latency" onClick={requestDelayAll} />
</div>
{groupNames.map(groupName => {

View file

@ -5,9 +5,8 @@
padding: 10px 40px;
}
.btnGroup {
color: #eee;
padding: 0 40px;
display: flex;
justify-content: flex-end;
.fabgrp {
position: fixed;
right: 20px;
bottom: 20px;
}

View file

@ -1,5 +1,7 @@
.header {
h2 {
> h2 {
margin-top: 0;
span:nth-child(2) {
font-size: 12px;
color: #777;