mirror of
https://github.com/wassname/template.git
synced 2026-08-15 12:54:58 +08:00
More work on perf: CSS contain etc.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user