Skip to content

Commit 0925084

Browse files
authored
Merge pull request #853 from RohitR311/recordui-fix
fix: recorder ui bug
2 parents 7a8052e + e0b5103 commit 0925084

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
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 && (

src/pages/RecordingPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
157157
<>
158158
<Grid container direction="row" style={{ flexGrow: 1, height: '100%' }}>
159159
<Grid item xs={12} md={9} lg={9} style={{ height: '100%', overflow: 'hidden', position: 'relative' }}>
160-
<div style={{ height: '100%', overflow: 'auto' }}>
160+
<div style={{ height: '100%', overflow: 'hidden' }}>
161161
<BrowserContent />
162162
<InterpretationLog isOpen={showOutputData} setIsOpen={setShowOutputData} />
163163
</div>

0 commit comments

Comments
 (0)