Skip to content

Commit

Permalink
fix(layout): code block copy button layout on mobile (ppoffice#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
imaegoo authored and ppoffice committed Jan 21, 2020
1 parent 5ea7f05 commit e3737f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
$(this).find('figcaption div.level-right').append($(this).find('figcaption').find('a'));
} else {
if (clipboard || fold) {
$(this).prepend('<figcaption class="level"><div class="level-left"></div><div class="level-right"></div></figcaption>');
$(this).prepend('<figcaption class="level is-mobile"><div class="level-left"></div><div class="level-right"></div></figcaption>');
}
}
});
Expand Down

0 comments on commit e3737f5

Please sign in to comment.