mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
[web] Make the new project dropdown menu scrollable (#22559)
* Make the new project dropdown menu scrollable * Use CSS variables GitOrigin-RevId: 9a918f2349cfc74038bde36e48b1060a4de09822
This commit is contained in:
@@ -97,6 +97,16 @@
|
||||
&.show-shadow {
|
||||
border-bottom-color: var(--border-divider);
|
||||
}
|
||||
|
||||
> .dropdown-menu {
|
||||
// navbar + new-project spacing + new-project button height (36px) + extra padding
|
||||
max-height: calc(
|
||||
100vh - #{$header-height} - var(--spacing-03) - var(--spacing-08) - 36px - var(
|
||||
--spacing-05
|
||||
)
|
||||
);
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.project-list-sidebar-scroll {
|
||||
|
||||
Reference in New Issue
Block a user