diff options
| author | nb5p <[email protected]> | 2023-06-23 11:20:36 +0800 |
|---|---|---|
| committer | kunish <[email protected]> | 2023-06-23 13:20:49 +0800 |
| commit | 00ee8e95bf54544573028930fcf25eea7fe1ac7b (patch) | |
| tree | 27768bd04c0254c207fd541030f1a4725fa019d5 /src/components | |
| parent | 31b4a5c069a0eaecc2f02e25e2a6b3b98ee7f359 (diff) | |
fix: source ip filter label align
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Connections.css | 2 | ||||
| -rw-r--r-- | src/components/Connections.module.scss | 5 | ||||
| -rw-r--r-- | src/components/Connections.tsx | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/components/Connections.css b/src/components/Connections.css index 7650779..555a559 100644 --- a/src/components/Connections.css +++ b/src/components/Connections.css @@ -3,7 +3,7 @@ } .react-tabs__tab-list { - margin: 0 0 10px; + margin: 0px; padding: 0 30px; } diff --git a/src/components/Connections.module.scss b/src/components/Connections.module.scss index e306b77..2dca5b9 100644 --- a/src/components/Connections.module.scss +++ b/src/components/Connections.module.scss @@ -65,3 +65,8 @@ transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); width: 100%; } + +.sourceipContainer { + display: flex; + align-items: center; +} diff --git a/src/components/Connections.tsx b/src/components/Connections.tsx index 77955c2..8c0ef1a 100644 --- a/src/components/Connections.tsx +++ b/src/components/Connections.tsx @@ -359,7 +359,7 @@ function Conn({ apiConfig }) { </Tab> </TabList> - <div> + <div className={s.sourceipContainer}> <Button onClick={openModalSource}>{t('client_tag')}</Button> <Button onClick={() => setFilterSourceIpStr('')} kind="minimal"> {t('All')} |
