A tool for people curious about the React Server Components protocol rscexplorer.dev/
rsc react

fix: dropdown options not visible in dark theme (#1)

Adds explicit styling for select option elements to match the dark theme.
Options were only visible on hover due to browser default styles.

authored by

Deepak Kumar and committed by
GitHub
295ed158 e22962b7

+11
+11
index.html
··· 86 86 outline: none; 87 87 border-color: #ffd54f; 88 88 } 89 + header select option { 90 + background: #2a2a2a; 91 + color: #e0e0e0; 92 + padding: 8px; 93 + font-size: 13px; 94 + } 95 + header select option:hover, 96 + header select option:checked { 97 + background: #3a3a3a; 98 + color: #ffd54f; 99 + } 89 100 header .save-btn { 90 101 background: var(--surface); 91 102 border: 1px solid var(--border);