fix(studio): keep the Renders Export button at its shipped 14px size

This commit is contained in:
Miguel Angel Simon Sierra
2026-09-18 21:58:32 -04:00
parent 9ec8935c37
commit ee78ac177f
2 changed files with 8 additions and 1 deletions
@@ -81,6 +81,13 @@ function exportButtonIn(host: HTMLElement): HTMLButtonElement {
return button;
}
describe("RenderQueue Export button", () => {
it("leaves the font size to the shared Button", () => {
const host = mountRenderQueue(vi.fn());
expect(exportButtonIn(host).className).not.toMatch(/text-\[/);
});
});
describe("RenderQueue FFmpeg gate", () => {
it("refuses Export and shows the install command when the server reports no FFmpeg", () => {
ffmpegStatus = {
@@ -407,7 +407,7 @@ function FormatExportButton({
trackStudioEvent("render_start", { format, quality, resolution: outputResolution, fps });
void onStartRender(format, quality, outputResolution, fps);
}}
className="w-full text-[11px] font-semibold"
className="w-full font-semibold"
>
{isRendering ? "Rendering…" : "Export"}
</Button>