Closed giorgi-nakeuri closed 9 years ago
Sorry guys, my mistake. No need for such stupid hacks. Just put content in another div with needed margins like this:
#margin{
margin:15px;
}
<div id="nanoitem" class="nano">
<div id="content" class="nano-content">
<div id="margin">
content goes here...
Workaround: I
ve added margin-right property on content and have colored built-in scroller to have the same color as containig div
s background color. Without this hack both nano and built-in scroller are visible..nano > .nano-content { position: absolute; overflow: scroll; overflow-x: hidden; top: 0; right: 0; bottom: 0; left: 0;