Skip to content

Commit e0b5103

Browse files
committed
fix: hide right side panel scrollbar
1 parent 29146da commit e0b5103

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/components/recorder/RightSidePanel.tsx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,24 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
534534
const isDarkMode = theme.darkMode;
535535

536536
return (
537-
<Paper sx={{ height: panelHeight, width: 'auto', alignItems: "center", background: 'inherit' }} id="browser-actions" elevation={0}>
537+
<Paper sx={{ height: panelHeight, width: 'auto', alignItems: "center", background: 'inherit', overflow: 'hidden' }} id="browser-actions" elevation={0}>
538538
<ActionDescriptionBox isDarkMode={isDarkMode} />
539-
<Box display="flex" flexDirection="column" gap={2} style={{ margin: '13px' }}>
539+
<Box
540+
display="flex"
541+
flexDirection="column"
542+
gap={2}
543+
style={{ margin: '13px' }}
544+
sx={{
545+
height: 'calc(100% - 26px)',
546+
overflowY: 'auto',
547+
overflowX: 'hidden',
548+
'&::-webkit-scrollbar': {
549+
display: 'none'
550+
},
551+
msOverflowStyle: 'none',
552+
scrollbarWidth: 'none'
553+
}}
554+
>
540555
{!isAnyActionActive && (
541556
<>
542557
{showCaptureList && (

0 commit comments

Comments
 (0)