Skip to content

Commit 21cbfc2

Browse files
committed
fix: responsiveness
1 parent bd3814b commit 21cbfc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/donations/DonationWidget.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function AmountInput(props: {
138138
onInput={props.onInput}
139139
onFocus={props.onFocus}
140140
onBlur={props.onBlur}
141-
class="flex-1 bg-transparent focus:outline-none font-bold text-lg text-base-content placeholder:text-base-content/30"
141+
class="flex-1 bg-transparent focus:outline-none font-bold text-lg text-base-content placeholder:text-base-content/30 w-12 md:w-24 lg:w-48"
142142
placeholder={t('donations.widget.customPlaceholder')}
143143
aria-label={t('donations.widget.customAriaLabel')}
144144
/>
@@ -162,7 +162,7 @@ function PixCopySection(props: { pixString: string; copied: boolean; onCopy: ()
162162
type="text"
163163
value={props.pixString}
164164
readOnly
165-
class="flex-1 bg-transparent px-3 py-2.5 font-mono text-[11px] md:text-xs text-base-content/70 truncate focus:outline-none"
165+
class="flex-1 bg-transparent px-3 py-2.5 font-mono text-[11px] md:text-xs text-base-content/70 truncate focus:outline-none w-12 md:w-24 lg:w-48"
166166
aria-label={t('donations.widget.pixCodeAriaLabel')}
167167
/>
168168
<button

0 commit comments

Comments
 (0)