@@ -141,6 +141,50 @@ function resetSettings() {
141141 DevTools Settings
142142 </h1 >
143143
144+ <section class =" border-t border-base pt-6 mb-8" >
145+ <h2 class =" text-lg font-medium mb-4 op75" >
146+ Appearance
147+ </h2 >
148+
149+ <div class =" flex flex-col gap-3" >
150+ <!-- Show iframe address bar toggle -->
151+ <label class =" flex items-center gap-3 cursor-pointer group" >
152+ <button
153+ class =" w-10 h-6 rounded-full transition-colors relative shrink-0"
154+ :class =" settings.showIframeAddressBar ? 'bg-lime' : 'bg-gray/30'"
155+ @click =" settingsStore.mutate((s) => { s.showIframeAddressBar = !s.showIframeAddressBar })"
156+ >
157+ <div
158+ class =" absolute top-1 w-4 h-4 rounded-full bg-white shadow transition-transform"
159+ :class =" settings.showIframeAddressBar ? 'translate-x-5' : 'translate-x-1'"
160+ />
161+ </button >
162+ <div class =" flex flex-col" >
163+ <span class =" text-sm" >Show iframe address bar</span >
164+ <span class =" text-xs op50" >Display navigation controls and URL bar for iframe views</span >
165+ </div >
166+ </label >
167+
168+ <!-- Close on outside click toggle -->
169+ <label class =" flex items-center gap-3 cursor-pointer group" >
170+ <button
171+ class =" w-10 h-6 rounded-full transition-colors relative shrink-0"
172+ :class =" settings.closeOnOutsideClick ? 'bg-lime' : 'bg-gray/30'"
173+ @click =" settingsStore.mutate((s) => { s.closeOnOutsideClick = !s.closeOnOutsideClick })"
174+ >
175+ <div
176+ class =" absolute top-1 w-4 h-4 rounded-full bg-white shadow transition-transform"
177+ :class =" settings.closeOnOutsideClick ? 'translate-x-5' : 'translate-x-1'"
178+ />
179+ </button >
180+ <div class =" flex flex-col" >
181+ <span class =" text-sm" >Close panel on outside click</span >
182+ <span class =" text-xs op50" >Close the DevTools panel when clicking outside of it (embedded mode only)</span >
183+ </div >
184+ </label >
185+ </div >
186+ </section >
187+
144188 <section class =" mb-8" >
145189 <h2 class =" text-lg font-medium mb-4 op75" >
146190 Dock Entries
@@ -261,50 +305,6 @@ function resetSettings() {
261305 </div >
262306 </section >
263307
264- <section class =" border-t border-base pt-6 mb-8" >
265- <h2 class =" text-lg font-medium mb-4 op75" >
266- Appearance
267- </h2 >
268-
269- <div class =" flex flex-col gap-3" >
270- <!-- Show iframe address bar toggle -->
271- <label class =" flex items-center gap-3 cursor-pointer group" >
272- <button
273- class =" w-10 h-6 rounded-full transition-colors relative shrink-0"
274- :class =" settings.showIframeAddressBar ? 'bg-lime' : 'bg-gray/30'"
275- @click =" settingsStore.mutate((s) => { s.showIframeAddressBar = !s.showIframeAddressBar })"
276- >
277- <div
278- class =" absolute top-1 w-4 h-4 rounded-full bg-white shadow transition-transform"
279- :class =" settings.showIframeAddressBar ? 'translate-x-5' : 'translate-x-1'"
280- />
281- </button >
282- <div class =" flex flex-col" >
283- <span class =" text-sm" >Show iframe address bar</span >
284- <span class =" text-xs op50" >Display navigation controls and URL bar for iframe views</span >
285- </div >
286- </label >
287-
288- <!-- Close on outside click toggle -->
289- <label class =" flex items-center gap-3 cursor-pointer group" >
290- <button
291- class =" w-10 h-6 rounded-full transition-colors relative shrink-0"
292- :class =" settings.closeOnOutsideClick ? 'bg-lime' : 'bg-gray/30'"
293- @click =" settingsStore.mutate((s) => { s.closeOnOutsideClick = !s.closeOnOutsideClick })"
294- >
295- <div
296- class =" absolute top-1 w-4 h-4 rounded-full bg-white shadow transition-transform"
297- :class =" settings.closeOnOutsideClick ? 'translate-x-5' : 'translate-x-1'"
298- />
299- </button >
300- <div class =" flex flex-col" >
301- <span class =" text-sm" >Close panel on outside click</span >
302- <span class =" text-xs op50" >Close the DevTools panel when clicking outside of it (embedded mode only)</span >
303- </div >
304- </label >
305- </div >
306- </section >
307-
308308 <section class =" border-t border-base pt-6" >
309309 <h2 class =" text-lg font-medium mb-4 op75" >
310310 Reset
0 commit comments