File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
redisinsight/ui/src/templates/rdi-instance-page-template Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
22import { ExplorePanelTemplate } from 'uiSrc/templates'
3-
4- import styles from './styles.module.scss'
3+ import { RdiInstancePageContentContainer } from 'uiSrc/templates/rdi-instance-page-template/styles'
54
65export interface Props {
76 children : React . ReactNode
@@ -11,9 +10,9 @@ const RdiInstancePageTemplate = (props: Props) => {
1110 const { children } = props
1211
1312 return (
14- < div className = { styles . content } >
13+ < RdiInstancePageContentContainer >
1514 < ExplorePanelTemplate > { children } </ ExplorePanelTemplate >
16- </ div >
15+ </ RdiInstancePageContentContainer >
1716 )
1817}
1918
Original file line number Diff line number Diff line change 22 height : 100% ;
33 padding-bottom : 16px ;
44}
5-
6- .content {
7- height : calc (100% - 130px );
8- flex : 1
9- }
Original file line number Diff line number Diff line change 1+ import styled from 'styled-components'
2+ import { FlexItem } from 'uiSrc/components/base/layout/flex'
3+
4+ export const RdiInstancePageContentContainer = styled ( FlexItem ) `
5+ height: calc(100% - 210px);
6+ `
You can’t perform that action at this time.
0 commit comments