Skip to content

Commit 75acb6a

Browse files
committed
style(studio): reformat export controls markup
Improve code readability and maintain consistent indentation in the `ExportControls` component by breaking down long JSX lines for the format label and group container.
1 parent 1c978f6 commit 75acb6a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/components/studio/ExportControls.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,14 @@ export const ExportControls: React.FC<ExportControlsProps> = ({
305305
</CardHeader>
306306
<CardContent className="space-y-4">
307307
<div>
308-
<p id="format-label" className="mb-2 text-xs text-gray-600">Format</p>
309-
<div role="group" aria-labelledby="format-label" className="grid grid-cols-4 gap-1">
308+
<p id="format-label" className="mb-2 text-xs text-gray-600">
309+
Format
310+
</p>
311+
<div
312+
role="group"
313+
aria-labelledby="format-label"
314+
className="grid grid-cols-4 gap-1"
315+
>
310316
{(
311317
["txt", "docx", "srt", "vtt", "json", "csv", "md"] as const
312318
).map((format) => (

0 commit comments

Comments
 (0)