Skip to content

Commit

Permalink
docs: fix transparent sidebar (#6117)
Browse files Browse the repository at this point in the history
Before, on Examples page, sidebar was transparent due to insufficient
css selector from past PR. In this PR we made more accurate selector to
fix this problem.

Before: 
<img width="383" alt="image"
src="https://github.com/software-mansion/react-native-reanimated/assets/59940332/b3b18d64-fef3-4ba0-8f56-03bc04098749">

After:
<img width="383" alt="image"
src="https://github.com/software-mansion/react-native-reanimated/assets/59940332/0c4140b0-870f-4472-a89c-6d5a8a4562bd">
  • Loading branch information
patrycjakalinska authored Jun 14, 2024
1 parent a7afaca commit ae3a53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs-reanimated/src/css/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ button[class*='DocSearch-Button'] {

/* examples sidebar */

[class*='plugin-blog'] [class*='sidebar'] {
[class*='plugin-blog'] [class*='sidebar']:not([class*='navbar-sidebar']) {
background-color: transparent;
}

0 comments on commit ae3a53a

Please sign in to comment.