style: 💄 修改了侧边栏

This commit is contained in:
2025-08-20 10:05:11 +08:00
parent ae90a84e2d
commit e82ec610cd
3 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title> <title>多多畅职教育系统</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

View File

@@ -59,7 +59,7 @@
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
box-sizing: border-box; box-sizing: border-box;
padding: 0 20px; padding: 0 20px 60px;
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
@@ -113,16 +113,18 @@
} }
.sidebar-btn { .sidebar-btn {
width: 190px; width: 100%;
height: 22px; height: 60px;
line-height: 60px;
position: absolute; position: absolute;
bottom: 20px; bottom: 0px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
background-color: #fff;
> img { > img {
width: 22px; width: 22px;

View File