Skip to content

Commit 9fb7817

Browse files
committed
fix: football emblem creator text sizes
1 parent 218c473 commit 9fb7817

File tree

1 file changed

+33
-14
lines changed

1 file changed

+33
-14
lines changed

src/pages/apps/FootballEmblemCreatorPage.js

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -304,20 +304,7 @@ const FootballEmblemCreatorPage = () => {
304304
maxLength={4}
305305
/>
306306
</div>
307-
<div className="col-span-1">
308-
<label className="block text-sm font-medium text-gray-400 mb-1">Year Font Size</label>
309-
<CustomDropdown
310-
options={[
311-
{ label: 'Small', value: '4' },
312-
{ label: 'Medium', value: '6' },
313-
{ label: 'Large', value: '8' },
314-
]}
315-
value={foundedYearFontSize}
316-
onChange={setFoundedYearFontSize}
317-
label="Select Year Size"
318-
icon={TextAaIcon}
319-
/>
320-
</div>
307+
321308
<div className="flex items-center mt-2">
322309
<input
323310
type="checkbox"
@@ -332,6 +319,38 @@ const FootballEmblemCreatorPage = () => {
332319
</div>
333320
</div>
334321
</div>
322+
<div>
323+
<div className="grid grid-cols-2 gap-2">
324+
<div className="col-span-1">
325+
<label className="block text-sm font-medium text-gray-400 mb-1">Team Font Size</label>
326+
<CustomDropdown
327+
options={[
328+
{ label: 'Small', value: '6' },
329+
{ label: 'Medium', value: '8' },
330+
{ label: 'Large', value: '10' },
331+
]}
332+
value={fontSize}
333+
onChange={setFontSize}
334+
label="Select Year Size"
335+
icon={TextAaIcon}
336+
/>
337+
</div>
338+
<div className="col-span-1">
339+
<label className="block text-sm font-medium text-gray-400 mb-1">Year Font Size</label>
340+
<CustomDropdown
341+
options={[
342+
{ label: 'Small', value: '4' },
343+
{ label: 'Medium', value: '6' },
344+
{ label: 'Large', value: '8' },
345+
]}
346+
value={foundedYearFontSize}
347+
onChange={setFoundedYearFontSize}
348+
label="Select Year Size"
349+
icon={TextAaIcon}
350+
/>
351+
</div>
352+
</div>
353+
</div>
335354

336355
<div>
337356
<h3 className="text-xl font-semibold mb-4 text-app">Colors</h3>

0 commit comments

Comments
 (0)