Skip to content

Commit fe750a2

Browse files
committed
refactor(ui): apply comments imporvements
re #RI-7437
1 parent 9149c63 commit fe750a2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

redisinsight/ui/src/pages/slow-log/components/Actions/Actions.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import styled from 'styled-components'
22

3-
export const StyledInfoIcon = styled.span`
3+
export const StyledInfoIconWrapper = styled.span`
44
display: flex;
55
align-self: center;
66
cursor: pointer;

redisinsight/ui/src/pages/slow-log/components/Actions/Actions.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
import { RiIcon } from 'uiSrc/components/base/icons/RiIcon'
1919

2020
import SlowLogConfig from '../SlowLogConfig'
21-
import { StyledInfoIcon } from './Actions.styles'
21+
import { StyledInfoIconWrapper } from './Actions.styles'
2222
import { ClearSlowLogModal } from '../ClearSlowLogModal/ClearSlowLogModal'
2323

2424
export interface Props {
@@ -168,9 +168,9 @@ const Actions = (props: Props) => {
168168
</span>
169169
}
170170
>
171-
<StyledInfoIcon>
171+
<StyledInfoIconWrapper>
172172
<RiIcon type="InfoIcon" data-testid="slow-log-tooltip-icon" />
173-
</StyledInfoIcon>
173+
</StyledInfoIconWrapper>
174174
</RiTooltip>
175175
</FlexItem>
176176
</Row>

redisinsight/ui/src/pages/slow-log/components/SlowLogConfig/SlowLogConfig.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { theme } from '@redis-ui/styles'
66
export const StyledContainer = styled(Col)<{ $isCluster?: boolean }>`
77
width: ${({ $isCluster }) => ($isCluster ? '394px' : '550px')};
88
padding: ${theme.core.space.space200};
9-
border-radius: 4px;
9+
border-radius: ${theme.core.space.space050};
1010
`
1111

1212
export const StyledInput = styled(TextInput)`

0 commit comments

Comments
 (0)