add Use Script Cache toggle; align toggles to right-hand side (#3121)

This commit is contained in:
Jonathan Dobson
2025-08-06 17:48:55 -04:00
committed by GitHub
parent 60ad36f839
commit 75eadef0e1
11 changed files with 92 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ import {
import { flushSync } from "react-dom";
import Draggable from "react-draggable";
import { OrgWalled } from "./Orgwalled";
import {
Tooltip,
TooltipContent,
@@ -627,7 +628,11 @@ function FloatingWindow({
onClick={toggleMaximized}
/>
)}
{showPowerButton && <PowerButton onClick={() => cycle()} />}
{showPowerButton && (
<OrgWalled className="flex items-center justify-center">
<PowerButton onClick={() => cycle()} />
</OrgWalled>
)}
</div>
<div className="ml-auto">{title}</div>
{showReloadButton && (