More work on perf: CSS contain etc.

This commit is contained in:
Ludwig Schubert
2017-08-29 10:34:00 -07:00
parent 9041141bf8
commit 366a3da552
34 changed files with 475 additions and 908 deletions
+4
View File
@@ -8,6 +8,10 @@ const katexCSSTag = '<link rel="stylesheet" href="https://distill.pub/third-part
const T = Template('d-math', `
<style>
:host {
contain: content;
}
d-math[block] {
display: block;
}