Skip to content

Commit ea11146

Browse files
authored
Revert "fix: recorder ui bug "
1 parent eb8d829 commit ea11146

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

src/components/recorder/RightSidePanel.tsx

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -534,24 +534,9 @@ 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', overflow: 'hidden' }} id="browser-actions" elevation={0}>
537+
<Paper sx={{ height: panelHeight, width: 'auto', alignItems: "center", background: 'inherit' }} id="browser-actions" elevation={0}>
538538
<ActionDescriptionBox isDarkMode={isDarkMode} />
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-
>
539+
<Box display="flex" flexDirection="column" gap={2} style={{ margin: '13px' }}>
555540
{!isAnyActionActive && (
556541
<>
557542
{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: 'hidden' }}>
160+
<div style={{ height: '100%', overflow: 'auto' }}>
161161
<BrowserContent />
162162
<InterpretationLog isOpen={showOutputData} setIsOpen={setShowOutputData} />
163163
</div>

0 commit comments

Comments
 (0)