1
I have a side menu that has position fixed, if I decrease the screen resolution the scroll bar does not descend until the end, that way:
Currently I do this bar using the property overflow
of css
:
overflow: auto;
But all the examples I saw the position is set as absolute
and not fixed
.
How can I get this scroll bar down to the end?
That’s the css
menu complete:
#sidebar-wrapper {
z-index: 1000;
position: fixed;
left: 230px;
width: 0;
height: 100%;
margin-left: -230px;
overflow-y: auto;
background: #263238;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
Need to give a
padding-bottom: 40px;
in that resolution– Diego Souza
It didn’t work @Zoom, nothing’s changed.
– DiegoAugusto
That system is on the network ?
– Diego Souza
It’s on the local network
– DiegoAugusto
If it makes it easier for you I can make a fiddle, but I don’t think today gives more time rs.
– DiegoAugusto
How are you
meta tag viewport
?– Diego Souza
<meta name="viewport" content="width=device-width, initial-scale=1.0">
– DiegoAugusto
Taca that:
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
– Diego Souza
It came to nothing either.
– DiegoAugusto
Puts the
padding-bottom
in theUL
not in the#sidebar-wrapper
– Diego Souza
There must be some field you can put a
padding: bottom;
or a margin!!– Giovanni Bernini
I have another
ul
inside the one you’re withposition:absolute
now that I’ve touched myself, I’ll try to put on it– DiegoAugusto
@Zoom was right, kk thanks, put an answer so I mark as solution.
– DiegoAugusto