Fix double scroll bar in admin content

We were using `overflow: scroll` as a workaround with a problem we had
with the equalizer. But now we never need an extra vertical scroll bar,
and we only need an extra horizontal scroll bar on small screens.

Since the dashboard was using the class `admin-content` as well, we need
to apply to the dashboard the same changes we've done in the admin
section. I've extracted them into a mixin.
This commit is contained in:
Javi Martín
2019-10-19 15:23:02 +02:00
parent 91d4624443
commit 42106e6601
5 changed files with 41 additions and 36 deletions

View File

@@ -20,7 +20,7 @@
<%= render "layouts/admin_header" %>
<div class="side-menu-and-admin-content no-margin-top">
<div id="side_menu" class="side-menu hide-for-small-only">
<div id="side_menu" class="hide-for-small-only">
<%= side_menu %>
</div>