Skip to content

Commit

Permalink
Fix click event of the moderation strip hamburger masking all the cli…
Browse files Browse the repository at this point in the history
…ck on the buttons at normal sizes - fixes #2176

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Aug 11, 2015
1 parent 5427bd9 commit 18b0fcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/default/Display.template.php
Expand Up @@ -783,7 +783,7 @@ function template_pages_and_buttons_below()

echo '
<i class="fa fa-2x fa-bars hamburger_30" data-id="moderationbuttons"></i>
<div id="moderationbuttons" class="hide_30 hamburger_30">', template_button_strip($context['mod_buttons'], 'bottom', array('id' => 'moderationbuttons_strip')), '</div>';
<div id="moderationbuttons" class="hide_30 hamburger_30_target">', template_button_strip($context['mod_buttons'], 'bottom', array('id' => 'moderationbuttons_strip')), '</div>';

// Show the jump-to box, or actually...let Javascript do it.
echo '
Expand Down
5 changes: 3 additions & 2 deletions themes/default/css/index.css
Expand Up @@ -4805,21 +4805,22 @@ dl.no_members {
padding-top: 0.1em;
display: inline-block;
vertical-align: middle;
cursor: pointer;
}
.fa.hamburger_30:before {
margin: 0.2em;
}
#display_jump_to {
display: inline-block;
}
.hide_30.hamburger_30 {
.hide_30.hamburger_30_target {
left: -9999px;
position: absolute;
}
.fa.hamburger_30.visible {
display: none;
}
.hide_30.hamburger_30.visible {
.hide_30.hamburger_30_target.visible {
left: auto;
position: relative;
}
Expand Down

0 comments on commit 18b0fcd

Please sign in to comment.