feat: icon in sidebar

This commit is contained in:
Junyan Qin
2025-05-06 21:56:12 +08:00
parent 646687b8da
commit 324f1c324d
5 changed files with 50 additions and 48 deletions
@@ -35,17 +35,19 @@
.sidebarChildContainer {
box-sizing: border-box;
width: 160px;
height: 48px;
margin: 12px 0;
font-size: 16px;
width: 10rem;
height: 3rem;
margin: 0.8rem 0;
padding-left: 2rem;
font-size: 1rem;
background-color: #fff;
border-radius: 12px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
cursor: pointer;
gap: 0.5rem;
}
.sidebarSelected {
@@ -60,9 +62,7 @@
}
.sidebarChildIcon {
width: 28px;
height: 28px;
margin-left: 16px;
margin-right: 6px;
width: 20px;
height: 20px;
background-color: rgba(96, 149, 209, 0);
}