Skip to content

Commit 15d62bd

Browse files
committed
fix: revert customize section to sm buttons to prevent overflow
The compact inline control bar overflows in the narrower max-w-2xl container with md-sized buttons. Keep sm for the customize controls.
1 parent b01a764 commit 15d62bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/components/Brand/Customize.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async function downloadCustomPng() {
144144
<!-- Accent color picker -->
145145
<fieldset class="flex items-center gap-3 flex-1 border-none p-0 m-0">
146146
<legend class="sr-only">{{ $t('brand.customize.accent_label') }}</legend>
147-
<span class="text-sm font-mono text-fg-muted shrink-0">{{
147+
<span class="text-xs font-mono text-fg-muted shrink-0">{{
148148
$t('brand.customize.accent_label')
149149
}}</span>
150150
<div class="flex items-center gap-1.5" role="radiogroup">
@@ -170,13 +170,13 @@ async function downloadCustomPng() {
170170

171171
<!-- Background toggle -->
172172
<div class="flex items-center gap-3">
173-
<span class="text-sm font-mono text-fg-muted">{{ $t('brand.customize.bg_label') }}</span>
173+
<span class="text-xs font-mono text-fg-muted">{{ $t('brand.customize.bg_label') }}</span>
174174
<div
175175
class="flex items-center border border-border rounded-md overflow-hidden"
176176
role="radiogroup"
177177
>
178178
<ButtonBase
179-
size="md"
179+
size="sm"
180180
role="radio"
181181
:aria-checked="customBgDark"
182182
:aria-label="$t('brand.logos.on_dark')"
@@ -189,7 +189,7 @@ async function downloadCustomPng() {
189189
{{ $t('brand.logos.on_dark') }}
190190
</ButtonBase>
191191
<ButtonBase
192-
size="md"
192+
size="sm"
193193
role="radio"
194194
:aria-checked="!customBgDark"
195195
:aria-label="$t('brand.logos.on_light')"
@@ -207,7 +207,7 @@ async function downloadCustomPng() {
207207
<!-- Download buttons -->
208208
<div class="flex items-center gap-2">
209209
<ButtonBase
210-
size="md"
210+
size="sm"
211211
:aria-label="$t('brand.customize.download_svg_aria')"
212212
:disabled="svgLoading"
213213
@click="downloadCustomSvg"
@@ -220,7 +220,7 @@ async function downloadCustomPng() {
220220
{{ $t('brand.logos.download_svg') }}
221221
</ButtonBase>
222222
<ButtonBase
223-
size="md"
223+
size="sm"
224224
:aria-label="$t('brand.customize.download_png_aria')"
225225
:disabled="pngLoading"
226226
@click="downloadCustomPng"

0 commit comments

Comments
 (0)