mirror of
https://github.com/wassname/template.git
synced 2026-09-13 13:10:31 +08:00
WIP move d-code and d-math and d-footnote to ShadowDOM
This commit is contained in:
@@ -185,6 +185,10 @@ const T = Template("d-article", `
|
||||
d-article section > d-code {
|
||||
display: block;
|
||||
}
|
||||
d-article > d-math[block],
|
||||
d-article section > d-math[block] {
|
||||
display: block;
|
||||
}
|
||||
d-article .citation {
|
||||
color: #668;
|
||||
cursor: pointer;
|
||||
@@ -200,4 +204,4 @@ export default class Article extends T(HTMLElement) {
|
||||
static get is() { return "d-article"; }
|
||||
}
|
||||
|
||||
customElements.define(Article.is, Article);
|
||||
customElements.define(Article.is, Article);
|
||||
|
||||
Reference in New Issue
Block a user