Commit 6927df32 authored by chenshouchao's avatar chenshouchao

feat: 样式调整

parent b50885a4
......@@ -72,7 +72,6 @@ const theme = createTheme({
},
},
},
// #C2C6CC
MuiTabs: {
styleOverrides: {
indicator: {
......@@ -80,6 +79,15 @@ const theme = createTheme({
},
},
},
MuiButtonBase: {
styleOverrides: {
root: {
"&.Mui-selected .MuiTypography-root": {
fontWeight: "600",
},
},
},
},
},
});
......@@ -90,7 +98,7 @@ const Tabs = (props: IProps) => {
defaultValue,
onChange,
allowNullValue = false,
tabPanelSx = { padding: "24px 0 0 0" },
tabPanelSx = { padding: "20px 0 0 0" },
title,
titleClass,
} = props;
......
......@@ -4,21 +4,21 @@
}
.projectDataStickyTop {
height: 100%;
padding: 28px 24px 64px;
padding: 22px 24px 64px;
position: relative;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
.projectDataStickyTopPadding {
padding: 28px 24px 24px;
padding: 22px 24px 24px;
}
.projectDataTitle {
font-size: 18px;
color: #1e2633;
line-height: 26px;
font-weight: 600;
margin-bottom: 24px;
margin-bottom: 20px;
}
.projectDataHeader {
position: relative;
......
......@@ -18,7 +18,7 @@
display: flex;
justify-content: space-between;
margin: 0 24px;
padding: 24px 0 20px;
padding: 22px 0 20px;
border-bottom: 1px solid #edeff2;
}
......@@ -67,7 +67,7 @@
color: #1e2633;
margin-right: 8px;
}
.red{
.red {
color: rgba(255, 78, 78, 1);
}
.verticalLine {
......@@ -136,4 +136,4 @@
justify-content: center;
align-items: center;
height: calc(100vh - 100px);
}
\ No newline at end of file
}
......@@ -40,7 +40,7 @@ const ProjectSetting = observer(() => {
if (currentProjectStore.currentProjectInfo.name) {
return (
<div style={{ padding: "28px 24px 24px" }}>
<div style={{ padding: "22px 24px" }}>
<div
style={{ display: "flex", alignItems: "center", marginBottom: "3px" }}
>
......
......@@ -53,7 +53,7 @@ const ProjectWorkbench = observer(() => {
}, [isPass]);
if (currentProjectStore.currentProjectInfo.name) {
return (
<div style={{ padding: "28px 24px 24px" }}>
<div style={{ padding: "22px 24px 24px" }}>
<div style={{ display: "flex", alignItems: "center" }}>
<span
style={{
......@@ -61,7 +61,7 @@ const ProjectWorkbench = observer(() => {
lineHeight: "26px",
fontWeight: "600",
color: "#1E2633",
marginBottom: "3px",
marginBottom: "-1px",
}}
>
工作台
......
......@@ -208,8 +208,6 @@ const UserResourcesEnvironment = () => {
></SearchInput>
{!addOpen && (
<MySelect
title="环境类型"
isTitle={true}
options={[
{
label: "全部",
......
......@@ -141,8 +141,6 @@ const UserResourcesTemplate = observer(() => {
}}
></SearchInput>
<MySelect
title="产品类型"
isTitle={true}
options={
[
{ label: "全部", value: "all" },
......
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