Compare commits
34
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc4a30c607 | ||
|
|
021f99e0be | ||
|
|
adc6af83e3 | ||
|
|
872e5f32cb | ||
|
|
d368ec5bd7 | ||
|
|
825bcc5fdb | ||
|
|
69cdf948da | ||
|
|
d337bb235c | ||
|
|
0c0f43174d | ||
|
|
51149d1dd4 | ||
|
|
448fcc4628 | ||
|
|
ee5462d039 | ||
|
|
7ee6d342e9 | ||
|
|
49d3737a93 | ||
|
|
4402e4fbfa | ||
|
|
721f77ed26 | ||
|
|
34f29e5ae6 | ||
|
|
c2170267e8 | ||
|
|
321ca59380 | ||
|
|
e3ecfe6ad8 | ||
|
|
f4664eec16 | ||
|
|
56f601e34b | ||
|
|
1244ff6d93 | ||
|
|
c0ea804c98 | ||
|
|
c21cf29db6 | ||
|
|
3d0da70ce6 | ||
|
|
feb061240b | ||
|
|
a924227805 | ||
|
|
2144d3f8c0 | ||
|
|
fcd6786149 | ||
|
|
ea968ebf3c | ||
|
|
8a7b852974 | ||
|
|
c8d3e3b70c | ||
|
|
7a90a6f9f4 |
@@ -38,7 +38,6 @@ interface TabLogsProps {
|
||||
|
||||
const SCROLL_PIN_THRESHOLD_PX = 8;
|
||||
const TAIL_POLL_MS = 10_000;
|
||||
const SCROLLBAR_SIZE = 14;
|
||||
|
||||
const isScrolledToBottom = (el: HTMLElement) =>
|
||||
el.scrollHeight - el.scrollTop - el.clientHeight <= SCROLL_PIN_THRESHOLD_PX;
|
||||
@@ -214,25 +213,7 @@ export const TabLogs = ({ monitorId, containerName, enabled }: TabLogsProps) =>
|
||||
maxHeight="50vh"
|
||||
overflow="auto"
|
||||
padding={LAYOUT.MD}
|
||||
sx={{
|
||||
overflowAnchor: "none",
|
||||
scrollbarWidth: "auto",
|
||||
scrollbarColor: "#11715b rgba(0,0,0,0.15)",
|
||||
"&::-webkit-scrollbar": {
|
||||
display: "block",
|
||||
width: `${SCROLLBAR_SIZE}px`,
|
||||
height: `${SCROLLBAR_SIZE}px`,
|
||||
},
|
||||
"&::-webkit-scrollbar-track": {
|
||||
background: "rgba(0,0,0,0.15)",
|
||||
borderRadius: "2px",
|
||||
},
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
background: "#11715b",
|
||||
borderRadius: "2px",
|
||||
},
|
||||
"&::-webkit-scrollbar-button": { display: "none" },
|
||||
}}
|
||||
sx={{ overflowAnchor: "none" }}
|
||||
>
|
||||
{rows.length > 0 && (
|
||||
<Stack
|
||||
|
||||
Reference in new issue
Block a user