Skip to content

Commit

Permalink
SVG display fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Dec 18, 2024
1 parent 6f70d6f commit 0c083da
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion docusaurus/src/scss/code-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ pre.prism-code {

&.method,
&.property-access,
&.function {
&.function,
&.attr-name {
color: var(--custom-code-block-function-color) !important;
}

Expand Down Expand Up @@ -134,6 +135,10 @@ pre.prism-code {
[class*="highlighted-line"] {
background-color: var(--custom-code-block-background-color-highlighted);
}

code {
background-color: var(--custom-code-block-background-color);
}
}
}

Expand All @@ -155,6 +160,10 @@ pre.prism-code {
}
}
}

svg {
display: initial;
}
}

[class*="codeBlockTitle"] {
Expand Down Expand Up @@ -315,6 +324,8 @@ pre.prism-code {
}

.clean-btn {
background-color: transparent;

svg {
color: var(--strapi-neutral-900);
}
Expand Down
6 changes: 3 additions & 3 deletions docusaurus/src/scss/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]';
content:'\E128';
}
}
svg {
display: none;
}
// svg {
// display: none;
// }
[class*="expandButton"] {
svg {
display: none;
Expand Down

0 comments on commit 0c083da

Please sign in to comment.