mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-18 09:07:57 +02:00
feat(mdx-loader): preserve hash in image src; support GH themed images (#6323)
* feat(mdx-loader): preserve hash in image src; support GH themed images * more refactor
This commit is contained in:
parent
472a4c881a
commit
217b62682d
8 changed files with 190 additions and 154 deletions
|
@ -172,6 +172,11 @@ div[class^='announcementBar_'] {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
html[data-theme='light'] img[src$='#gh-dark-mode-only'],
|
||||
html[data-theme='dark'] img[src$='#gh-light-mode-only'] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Used to test CSS insertion order */
|
||||
.test-marker-site-custom-css-unique-rule {
|
||||
content: "site-custom-css-unique-rule";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue