mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 06:19:21 +00:00
fix(studio): keep the Renders Export button at its shipped 14px size
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user