fix: make txt file preview scrollable with mouse wheel (#17911)

This commit is contained in:
euvre
2026-08-11 19:31:18 -07:00
committed by GitHub
parent 3e4a1fa887
commit c0274fff19

View File

@@ -56,7 +56,7 @@ export const TxtPreviewer = ({ className, url }: TxtPreviewerProps) => {
return (
<div
className={classNames(
'relative w-full h-dvh p-4 bg-background-paper border border-border-normal rounded-md overflow-auto',
'relative w-full h-full p-4 overflow-auto bg-background-paper border border-border-normal rounded-md',
className,
)}
>