diff options
| author | Haishan <[email protected]> | 2020-06-17 00:36:38 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-06-17 00:36:38 +0800 |
| commit | 629062d945eff9f1905c4b9f7d012dc36bb60dec (patch) | |
| tree | c04f02295ef501a3516bca9fc4929f230ce9812c /src/components/proxies/Proxies.module.css | |
| parent | 320cc4bff75308a967d868793d3f2500c6dfe69e (diff) | |
refactor(proxies): make the content header and settings button sticky
Diffstat (limited to 'src/components/proxies/Proxies.module.css')
| -rw-r--r-- | src/components/proxies/Proxies.module.css | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/proxies/Proxies.module.css b/src/components/proxies/Proxies.module.css index 2c702e7..f8f50a9 100644 --- a/src/components/proxies/Proxies.module.css +++ b/src/components/proxies/Proxies.module.css @@ -1,11 +1,17 @@ .topBar { position: sticky; top: 0; + + display: flex; + align-items: center; + justify-content: space-between; z-index: 1; background: var(--color-background); - display: flex; - justify-content: flex-end; - padding: 5px 5px 2px 0; + background: linear-gradient(var(--color-background) 70%, transparent); +} + +.settingBtnContainer { + margin-right: 20px; } .group { |
