File tree Expand file tree Collapse file tree 5 files changed +12
-24
lines changed
components/KymaCompanion/components Expand file tree Collapse file tree 5 files changed +12
-24
lines changed Original file line number Diff line number Diff line change 11#companion_wrapper {
2- width : 100% ;
2+ width : calc (100% - 1rem );
3+ position : absolute ;
4+ top : 0.5rem ;
5+ left : 0.5rem ;
6+ right : 0.5rem ;
7+ bottom : 0.5rem ;
38
49 .kyma-companion {
510 height : 100% ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default function KymaCompanion() {
4949 }
5050
5151 return (
52- < div id = "companion_wrapper" className = "sap-margin-tiny" >
52+ < div id = "companion_wrapper" >
5353 < Card
5454 className = "kyma-companion"
5555 header = {
Original file line number Diff line number Diff line change 1515}
1616
1717.resource-details-container {
18- display : grid ;
19- grid-template-columns : 100% ;
18+ margin-inline : 1rem ;
19+ display : flex ;
20+ flex-wrap : wrap ;
2021 gap : 1rem ;
2122}
2223
3839 min-width : 300px ;
3940 }
4041}
41-
42- @container (min-width: 1100px) {
43- .resource-details-container {
44- grid-template-columns : fit-content (100% ) max-content ;
45- gap : 0 ;
46-
47- & .column-view {
48- display : flex ;
49- flex-direction : row ;
50- flex-wrap : wrap ;
51- gap : 1rem ;
52-
53- & > * {
54- flex-grow : 1 ;
55- }
56- }
57- }
58- }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default function ResourceDetailsCard({
88 className = '' ,
99} ) {
1010 return (
11- < div className = { `${ wrapperClassname } sap-margin-x-small ` } >
11+ < div className = { `${ wrapperClassname } ` } >
1212 < Card className = { className } header = { < CardHeader titleText = { titleText } /> } >
1313 < div className = "cluster-overview__details-grid sap-margin-small sap-margin-top-tiny" >
1414 { content }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function ResourceStatusCard({
1313 const { t } = useTranslation ( ) ;
1414
1515 return (
16- < div className = "sap-margin-x-small" >
16+ < div >
1717 < Card
1818 header = {
1919 < div className = "resource-status-card__header" >
You can’t perform that action at this time.
0 commit comments