Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
pbdf-website
Commits
2e7cfaee
Commit
2e7cfaee
authored
Jun 12, 2019
by
David Venhoek
Committed by
Sietse Ringers
Aug 02, 2019
Browse files
Added scrolling to menus when they dont fit on screen.
parent
3b400cdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
_sass/foundation-components/_top-bar.scss
View file @
2e7cfaee
...
...
@@ -401,6 +401,8 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
&
.moved
{
position
:
static
;
&
>
.dropdown
{
@include
topbar-show-dropdown
();
overflow
:auto
;
max-height
:
calc
(
100vh
-
#{
$topbar-height
}
);
width
:
100%
;
}
&
>
a
:after
{
...
...
@@ -417,6 +419,8 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
top
:
0
;
z-index
:
99
;
@include
topbar-hide-dropdown
();
max-height
:
calc
(
100vh
-
#{
$topbar-height
}
);
overflow
:
auto
;
li
{
width
:
100%
;
...
...
@@ -563,6 +567,7 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
&
.hover
,
&
.not-click
:hover
{
&
>
.dropdown
{
@include
topbar-show-dropdown
();
overflow
:auto
;
}
}
>
a
:focus
+
.dropdown
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment