math: hide unrendered math #663

This commit is contained in:
Sören Weber 2023-10-01 21:24:17 +02:00
parent 00175972d9
commit 1876463e7c
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -1663,6 +1663,15 @@ input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
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{
text-align: left !important;
}