fix logs scrolling on mobile (#11045)

This commit is contained in:
Josh Hawkins 2024-04-19 18:01:45 -05:00 committed by GitHub
parent c83c13938c
commit 3ca2d599d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,9 @@ export default function LogInfoDialog({
}
}}
>
<Content className={isDesktop ? "" : "max-h-[75dvh] p-2 overflow-hidden"}>
<Content
className={isDesktop ? "" : "max-h-[75dvh] p-2 pb-4 overflow-hidden"}
>
{logLine && (
<div className="size-full flex flex-col gap-5">
<div className="w-min flex flex-col gap-1.5">

View File

@ -405,7 +405,7 @@ function Logs() {
</div>
<div
ref={contentRef}
className="w-full flex flex-col overflow-y-auto no-scrollbar"
className="w-full flex flex-col overflow-y-auto no-scrollbar overscroll-contain"
>
{logLines.length > 0 &&
[...Array(logRange.end).keys()].map((idx) => {