File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/core/src/components/SimpleStyleScrollables Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ export default function useSplitContentContainerStyles(
3838 ) ;
3939
4040 const leftBorderWidth =
41- flattenedStyle . borderLeftWidth ?? flattenedStyle . borderWidth ?? 0 ;
41+ flattenedStyle ? .borderLeftWidth ?? flattenedStyle ? .borderWidth ?? 0 ;
4242 const rightBorderWidth =
43- flattenedStyle . borderRightWidth ?? flattenedStyle . borderWidth ?? 0 ;
43+ flattenedStyle ? .borderRightWidth ?? flattenedStyle ? .borderWidth ?? 0 ;
4444 const topBorderWidth =
45- flattenedStyle . borderTopWidth ?? flattenedStyle . borderWidth ?? 0 ;
45+ flattenedStyle ? .borderTopWidth ?? flattenedStyle ? .borderWidth ?? 0 ;
4646 const bottomBorderWidth =
47- flattenedStyle . borderBottomWidth ?? flattenedStyle . borderWidth ?? 0 ;
47+ flattenedStyle ? .borderBottomWidth ?? flattenedStyle ? .borderWidth ?? 0 ;
4848
4949 // contentContainerStyle should always at least fill the parent to ensure sizing changes reflects properly on component and children.
5050 // The measured sizes include borders, so we need to subtract those before applying
You can’t perform that action at this time.
0 commit comments