We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef9d89 commit dce5578Copy full SHA for dce5578
src/components/Preview/Header.tsx
@@ -86,15 +86,18 @@ export function Header({
86
{windowTitle}
87
</span>
88
89
- <div className="text-sm text-zinc-400 flex items-center gap-2">
90
- <span>Live reload?</span>
+ <label
+ title="Habilitar/desabilitar recarregamento automático"
91
+ htmlFor="live-reload"
92
+ className="text-xs text-zinc-500 hover:opacity-[1] opacity-[0.4] flex gap-2 absolute right-3">
93
+ <span className="flex-1 flex justify-end cursor-pointer">Live reload?</span>
94
<input
95
+ id="live-reload"
96
type="checkbox"
- title="Habilitar/desabilitar recarregamento automático"
97
onChange={() => toggleLiveReload()}
98
checked={isLiveReloadEnabled}
99
/>
- </div>
100
+ </label>
101
</header>
102
)
103
}
0 commit comments