Use explicit px strings for webkit scrollbar dimensions

MUI may not convert bare numbers to px inside pseudo-element selectors;
switching to template literals ensures the correct CSS value.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGiX1wXCY5UtSrmoKBhDQu
This commit is contained in:
Claude committed 2026-09-10 00:10:26 +00:00
1 parent 14eac9f1c5
commit eeed7dfa5e
1 file changed
+6 -6
@@ -217,19 +217,19 @@ export const TabLogs = ({ monitorId, containerName, enabled }: TabLogsProps) =>
sx={{ sx={{
overflowAnchor: "none", overflowAnchor: "none",
scrollbarWidth: "auto", scrollbarWidth: "auto",
scrollbarColor: "#11715b rgba(0,0,0,0.1)", scrollbarColor: "#11715b rgba(0,0,0,0.15)",
"&::-webkit-scrollbar": { "&::-webkit-scrollbar": {
display: "block", display: "block",
width: SCROLLBAR_SIZE, width: `${SCROLLBAR_SIZE}px`,
height: SCROLLBAR_SIZE, height: `${SCROLLBAR_SIZE}px`,
}, },
"&::-webkit-scrollbar-track": { "&::-webkit-scrollbar-track": {
background: "rgba(0,0,0,0.1)", background: "rgba(0,0,0,0.15)",
borderRadius: 2, borderRadius: "2px",
}, },
"&::-webkit-scrollbar-thumb": { "&::-webkit-scrollbar-thumb": {
background: "#11715b", background: "#11715b",
borderRadius: 2, borderRadius: "2px",
}, },
"&::-webkit-scrollbar-button": { display: "none" }, "&::-webkit-scrollbar-button": { display: "none" },
}} }}