diff options
| author | Kirill Fomchenko <Raegdan@users.noreply.github.com> | 2015-07-21 08:21:10 +0300 |
|---|---|---|
| committer | Kirill Fomchenko <Raegdan@users.noreply.github.com> | 2015-07-21 08:21:10 +0300 |
| commit | ab22a32c0930068ed6e26e76b3f2cd1a3bc98b93 (patch) | |
| tree | ef36f861e99e0385dcb036d3b084d6e86a0b70bc /htroot/env/bootstrap-base.css | |
| parent | 30135d8964581bc8ef365859a07a85dc36c9aa02 (diff) | |
Fixed CSS scrolling
When the sidebar on search page becomes scrollable, the scrollbar shrinks the sidebar and makes the search results weirdly scrollable on X axis by several pixels. Now the sidebar always have a scrollbar, and results are never X-scrollable.
Diffstat (limited to 'htroot/env/bootstrap-base.css')
| -rw-r--r-- | htroot/env/bootstrap-base.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/htroot/env/bootstrap-base.css b/htroot/env/bootstrap-base.css index ca6034cb1..53a731369 100644 --- a/htroot/env/bootstrap-base.css +++ b/htroot/env/bootstrap-base.css @@ -35,7 +35,7 @@ body { display: block; padding: 20px; overflow-x: hidden; - overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ + overflow-y: scroll; } } @@ -123,4 +123,7 @@ ul.nav li.dropdown:hover ul.dropdown-menu{ .popover { z-index: 1600; } -
\ No newline at end of file +.col-md-9 { + width: auto; + overflow-x: hidden; +} |
