fix(layout): code block copy button layout on mobile (#605)
parent
5ea7f05c0b
commit
e3737f5488
|
@ -75,7 +75,7 @@
|
||||||
$(this).find('figcaption div.level-right').append($(this).find('figcaption').find('a'));
|
$(this).find('figcaption div.level-right').append($(this).find('figcaption').find('a'));
|
||||||
} else {
|
} else {
|
||||||
if (clipboard || fold) {
|
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>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue