mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
web: add scroll to navbar (#4100)
* web: add scroll to navbar * web: add scroll to whole navbar instead of scrolling the opened menu
This commit is contained in:
@@ -292,10 +292,11 @@ header nav {
|
||||
max-height: 0;
|
||||
transform: translateY(-10px);
|
||||
transition: all .7s ease !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.active .sub-menu {
|
||||
max-height: 600px;
|
||||
max-height: 1000px;
|
||||
transform: translateY(0px);
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
@@ -306,6 +307,7 @@ header nav {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transform: translateX(100%);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
header nav.open {
|
||||
|
||||
Reference in New Issue
Block a user