Skip to content

Commit 2df52a5

Browse files
committed
update SummaryPerData.tsx
1 parent 37f23da commit 2df52a5

File tree

11 files changed

+790
-238
lines changed

11 files changed

+790
-238
lines changed

redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-formatter/KeyDetailsHeaderFormatter.styles.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ComponentProps } from 'react'
33
import { ColorText } from 'uiSrc/components/base/text'
44
import { RiSelect } from 'uiSrc/components/base/forms/select/RiSelect'
55
import { RiIcon } from 'uiSrc/components/base/icons/RiIcon'
6+
import { insightsOpen } from 'uiSrc/styles/mixins'
67

78
type KeyDetailsSelectProps = ComponentProps<typeof RiSelect> & {
89
$fullWidth?: boolean
@@ -41,12 +42,10 @@ const ControlsIcon = styled(RiIcon)`
4142
margin-left: 3px;
4243
margin-top: 2px;
4344
44-
:global(.insightsOpen) {
45-
@media only screen and (max-width: 1440px) {
46-
width: 18px !important;
47-
height: 18px !important;
48-
}
49-
}
45+
${insightsOpen(1440)`
46+
width: 18px !important;
47+
height: 18px !important;
48+
`}
5049
`
5150

5251
const Container = styled.div<{

0 commit comments

Comments
 (0)