Commit a4313e44 authored by chenshouchao's avatar chenshouchao

feat: 滚动条样式修改

parent e6ff053e
......@@ -15,7 +15,7 @@ main::-webkit-scrollbar-track {
div::-webkit-scrollbar-thumb,
main::-webkit-scrollbar-thumb {
background-color: #c2c6cc;
background-color: rgba(138, 144, 153, 0.55);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
......@@ -23,6 +23,13 @@ main::-webkit-scrollbar-thumb {
width: 6px !important;
}
div::-webkit-scrollbar-thumb:hover {
background-color: rgba(138, 144, 153, 0.8);
}
main::-webkit-scrollbar-thumb:hover {
background-color: rgba(138, 144, 153, 0.8);
}
body,
h1,
h2,
......
......@@ -87,7 +87,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => {
};
const Footer = useMemo(() => {
console.log(okColor);
if (isHideFooter) return null;
return footerRender ? (
footerRender()
......@@ -98,7 +97,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => {
text={cancelText || "取消"}
onClick={onClose}
variant="outlined"
// size="small"
color="secondary"
/>
) : null}
......@@ -107,7 +105,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => {
text={okText || "确定"}
onClick={onConfirm}
variant="contained"
// variant="outlined"
color={okColor}
disabled={disabledConfirm}
isLoadingButton={true}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment