feat: library sidebar design tweaks (#6582)

This commit is contained in:
David Luzar 2023-05-13 13:18:14 +02:00 committed by GitHub
parent e619e06055
commit fff9d1522a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 128 additions and 68 deletions

View file

@ -46,8 +46,17 @@
justify-content: space-between;
align-items: center;
width: 100%;
padding-top: 1rem;
padding-bottom: 1rem;
padding: 1rem 0.75rem;
position: relative;
&::after {
content: "";
width: calc(100% - 1.5rem);
height: 1px;
background: var(--sidebar-border-color);
position: absolute;
bottom: -1px;
}
}
.sidebar__header__buttons {
@ -89,7 +98,7 @@
display: flex;
flex-direction: column;
flex: 1 1 auto;
padding: 1rem 0.75rem;
padding: 1rem 0;
[role="tabpanel"] {
flex: 1;
@ -161,9 +170,5 @@
border: none;
}
}
.sidebar__header {
border-bottom: 1px solid var(--sidebar-border-color);
}
}
}