fix: remove the constant deps for watch logs
This commit is contained in:
@@ -60,10 +60,24 @@
|
|||||||
|
|
||||||
&.dark {
|
&.dark {
|
||||||
background-color: #282c34;
|
background-color: #282c34;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
&::-webkit-scrollbar-thumb {
|
||||||
|
background-color: var(--scrollbar-handle-light-bg);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light {
|
&.light {
|
||||||
background-color: rgb(250, 250, 250);
|
background-color: rgb(250, 250, 250);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
&::-webkit-scrollbar-thumb {
|
||||||
|
background-color: var(--color-scrollbar-thumb);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ const LogsViewer: React.FC<LogsViewerProps> = forwardRef((props, ref) => {
|
|||||||
return () => {
|
return () => {
|
||||||
chunkRequedtRef.current?.current?.abort?.();
|
chunkRequedtRef.current?.current?.abort?.();
|
||||||
};
|
};
|
||||||
}, [url, props.params]);
|
}, [url]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
debouncedScroll();
|
debouncedScroll();
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ html {
|
|||||||
--color-scrollbar-thumb: rgba(193, 193, 193, 80%);
|
--color-scrollbar-thumb: rgba(193, 193, 193, 80%);
|
||||||
--scrollbar-size: 6px;
|
--scrollbar-size: 6px;
|
||||||
--scrollbar-handle-bg: rgba(0, 0, 0, 44%);
|
--scrollbar-handle-bg: rgba(0, 0, 0, 44%);
|
||||||
--scrollbar-handle-light-bg: rgba(255, 255, 255, 44%);
|
--scrollbar-handle-light-bg: rgba(255, 255, 255, 25%);
|
||||||
--scrollbar-handle-hover-bg: rgba(0, 0, 0, 55%);
|
--scrollbar-handle-hover-bg: rgba(0, 0, 0, 55%);
|
||||||
--color-editor-dark: #282c34;
|
--color-editor-dark: #282c34;
|
||||||
--color-editor-light: #fafafa;
|
--color-editor-light: #fafafa;
|
||||||
|
|||||||
Reference in New Issue
Block a user