Improve frontend performance and caching behavior
This commit is contained in:
@@ -412,14 +412,16 @@
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: -300px;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
height: 100vh;
|
||||
transition: left 0.3s ease;
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.3s ease;
|
||||
will-change: transform;
|
||||
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.sidebar.open {
|
||||
left: 0;
|
||||
transform: translateX(0);
|
||||
}
|
||||
.close-btn {
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user