Skip to content

Commit feabae3

Browse files
committed
#1297 : Moved styling to Box
1 parent fa5ebef commit feabae3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/frontend/src/components/VerticalDetailDisplay.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ const VerticalDetailDisplay: React.FC<VerticalDetailDisplayProps> = ({ label, co
2121
<Box
2222
overflow={'auto'}
2323
whiteSpace={'nowrap'}
24+
bgcolor={backgroundColor}
25+
borderRadius={'10px'}
26+
justifyContent={'center'}
27+
boxShadow={1}
2428
sx={{
25-
backgroundColor: backgroundColor,
26-
borderRadius: '10px',
27-
justifyContent: 'center',
28-
boxShadow: 1,
2929
'&::-webkit-scrollbar': {
3030
height: '0.55rem' // Adjust the the thickness of the scrollbar
3131
},

0 commit comments

Comments
 (0)