Mitigate DOM reflow with wrapTableWithBox (#583)

This commit is contained in:
Mimi 2022-10-24 15:09:18 +08:00 committed by GitHub
parent 1e0f28d72e
commit c85cbe7c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,8 @@ kbd {
// in Hexo config generates code.highlight elements
figure.highlight {
@extend $code-block;
// Reduce DOM reflow with wrapTableWithBox
overflow: auto;
position: relative;
pre {