fix(layout): code block copy button layout on mobile (#605)

This commit is contained in:
iMaeGoo 2020-01-22 00:24:27 +08:00 committed by Ruipeng Zhang
parent 5ea7f05c0b
commit e3737f5488
1 changed files with 1 additions and 1 deletions

View File

@ -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>');
}
}
});