File tree Expand file tree Collapse file tree
compiler/src/react/shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ export function LocaleSwitcher({
9898 disabled = { loading }
9999 className = { className }
100100 style = { {
101- opacity : loading ? 0.5 : 1 ,
102101 cursor : loading ? "wait" : "pointer" ,
103102 ...style ,
104103 } }
Original file line number Diff line number Diff line change 33: root {
44 --background : # ffffff ;
55 --foreground : # 171717 ;
6+ color-scheme : dark;
67}
78
89@theme inline {
2425 color : var (--foreground );
2526 font-family : Arial, Helvetica, sans-serif;
2627}
28+
29+ .locale-switcher option ,
30+ optgroup {
31+ background-color : black;
32+ }
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ export default function Home() {
3131 { code : "de" , label : "Deutsch" } ,
3232 { code : "ru" , label : "Русский" } ,
3333 ] }
34+ className = "locale-switcher"
3435 />
3536 </ header >
3637 < div className = "flex w-full grow flex-col items-center justify-between py-32 px-16 bg-white dark:bg-black sm:items-start" >
@@ -63,15 +64,17 @@ export default function Home() {
6364 { "</>" }
6465 </ div >
6566 < div >
66- What happens if I use a property { something . cool } and{ " " }
67- { something . translatedCool }
68- </ div >
69- < div >
70- Text external to the component is not translated: { externalText }
71- </ div >
72- < div >
73- Content that has text and other tags inside will br translated as a
74- single entity: { translatableMixedContextFragment }
67+ < div >
68+ What happens if I use a property { something . cool } and{ " " }
69+ { something . translatedCool }
70+ </ div >
71+ < div >
72+ Text external to the component is not translated: { externalText }
73+ </ div >
74+ < div >
75+ Content that has text and other tags inside will br translated as a
76+ single entity: { translatableMixedContextFragment }
77+ </ div >
7578 </ div >
7679 </ div >
7780 </ main >
You can’t perform that action at this time.
0 commit comments