style: improve styling

This commit is contained in:
Prayag Prajapati committed 2024-04-27 14:53:16 +05:30
1 parent e7af13970c
commit 91491a78c5
6 files changed
+12 -14

No files matched your search

+7 -1
View File
@@ -14,7 +14,7 @@
padding: 0.5em;
background: rgb(0 0 0 / 0.4);
backdrop-filter: blur(40px);
box-shadow: 0 0 15px rgb(0 0 0 / 0.2);
box-shadow: 0 0 25px rgb(0 0 0 / 0.45);
}
}
&-avatar {
@@ -63,6 +63,12 @@
}
.library-drawer{
width: 20em;
margin: 1.4em;
height: calc(100vh - 2.8em) !important;
border-radius: 20px;
overflow-x: hidden;
overflow-y: auto;
.library-drawer-item{
position: relative;
overflow: hidden;
+1 -9
View File
@@ -305,15 +305,7 @@ export const AppBar = () => {
open={showDrawer}
PaperProps={{
className: "glass library-drawer",
style: {
width: "20em",
margin: "1.4em",
height: "calc(100vh - 2.8em)",
borderRadius: "20px",
overflowX: "hidden",
overflowY: "auto",
border: "1.2px solid rgb(255 255 255 / 0.2)",
},
elevation: 6,
}}
className="library-drawer"
onClose={() => setShowDrawer(false)}