mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix logs scrolling on mobile (#11045)
This commit is contained in:
parent
c83c13938c
commit
3ca2d599d3
@ -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 && (
|
{logLine && (
|
||||||
<div className="size-full flex flex-col gap-5">
|
<div className="size-full flex flex-col gap-5">
|
||||||
<div className="w-min flex flex-col gap-1.5">
|
<div className="w-min flex flex-col gap-1.5">
|
||||||
|
@ -405,7 +405,7 @@ function Logs() {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
ref={contentRef}
|
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 &&
|
{logLines.length > 0 &&
|
||||||
[...Array(logRange.end).keys()].map((idx) => {
|
[...Array(logRange.end).keys()].map((idx) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user