@@ -88,7 +88,7 @@ export function ShapeTriContainer(props: TriContainerProps) {
88
88
// const { showHeader, showFooter } = container;
89
89
// When the header and footer are not displayed, the body must be displayed
90
90
const showBody = true ;
91
- const scrollbars = container . scrollbars ;
91
+ const showVerticalScrollbar = container . showVerticalScrollbar ;
92
92
93
93
const { items : bodyItems , ...otherBodyProps } =
94
94
container . body [ "0" ] . children . view . getView ( ) ;
@@ -111,30 +111,30 @@ export function ShapeTriContainer(props: TriContainerProps) {
111
111
} , [ icon . props ] ) ;
112
112
113
113
return (
114
- < div style = { { padding : style . margin , height : " 100%" } } >
114
+ < div style = { { padding : style . margin , height : ' 100%' } } >
115
115
< Wrapper $style = { style } >
116
116
< BackgroundColorContext . Provider value = { bodyStyle . background } >
117
117
< ScrollBar
118
118
style = { {
119
- height : container . autoHeight ? " auto" : " 100%" ,
120
- margin : " 0px" ,
121
- padding : " 0px" ,
119
+ height : container . autoHeight ? ' auto' : ' 100%' ,
120
+ margin : ' 0px' ,
121
+ padding : ' 0px' ,
122
122
} }
123
- hideScrollbar = { ! scrollbars }
123
+ hideScrollbar = { ! showVerticalScrollbar }
124
124
>
125
- < div style = { { position : " relative" , height : " 100%" } } >
126
- < StylesShape
125
+ < div style = { { position : ' relative' , height : ' 100%' } } >
126
+ < StylesShape
127
127
$style = { style }
128
128
type = { shape ?. value as any }
129
129
noise = { false }
130
130
index = { shape . index }
131
131
styles = { {
132
- position : " absolute" ,
133
- top : "0" ,
134
- left : " 50%" ,
135
- transform : " translateX(-50%)" ,
132
+ position : ' absolute' ,
133
+ top : '0' ,
134
+ left : ' 50%' ,
135
+ transform : ' translateX(-50%)' ,
136
136
width : widthCalculator ( style . margin ) ,
137
- height : " 100%" ,
137
+ height : ' 100%' ,
138
138
} }
139
139
/>
140
140
< BodyInnerGrid
@@ -143,9 +143,9 @@ export function ShapeTriContainer(props: TriContainerProps) {
143
143
items = { gridItemCompToGridItems ( bodyItems ) }
144
144
autoHeight = { container . autoHeight }
145
145
emptyRows = { 14 }
146
- minHeight = { " 142px" }
146
+ minHeight = { ' 142px' }
147
147
hintPlaceholder = { props . hintPlaceholder ?? HintPlaceHolder }
148
- $backgroundColor = { bodyStyle ?. background || " transparent" }
148
+ $backgroundColor = { bodyStyle ?. background || ' transparent' }
149
149
$borderColor = { style ?. border }
150
150
$borderWidth = { style ?. borderWidth }
151
151
$backgroundImage = { bodyStyle ?. backgroundImage }
0 commit comments