mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
math: hide unrendered math #663
This commit is contained in:
parent
00175972d9
commit
1876463e7c
1 changed files with 9 additions and 0 deletions
|
@ -1663,6 +1663,15 @@ input[type="search"]::-webkit-search-cancel-button,
|
||||||
input[type="search"]::-webkit-search-results-button,
|
input[type="search"]::-webkit-search-results-button,
|
||||||
input[type="search"]::-webkit-search-results-decoration { display: none; }
|
input[type="search"]::-webkit-search-results-decoration { display: none; }
|
||||||
|
|
||||||
|
@supports selector(.math:has(> mjx-container)){
|
||||||
|
.math{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.math:has(> mjx-container){
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.math.align-left > mjx-container{
|
.math.align-left > mjx-container{
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue