fix: increase card field height and font size for larger card brand logos
This commit is contained in:
@@ -18,7 +18,7 @@ interface PaymentFormProps {
|
|||||||
const inputClass =
|
const inputClass =
|
||||||
'w-full rounded-lg border border-neutral-700 bg-neutral-800/50 px-3 py-2.5 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:ring-1 focus:ring-brand-orange focus:border-brand-orange transition-colors'
|
'w-full rounded-lg border border-neutral-700 bg-neutral-800/50 px-3 py-2.5 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:ring-1 focus:ring-brand-orange focus:border-brand-orange transition-colors'
|
||||||
const mollieFieldBase =
|
const mollieFieldBase =
|
||||||
'w-full rounded-lg border border-neutral-700 bg-neutral-800/50 px-3 py-2.5 h-[42px] transition-all focus-within:ring-1 focus-within:ring-brand-orange focus-within:border-brand-orange'
|
'w-full rounded-lg border border-neutral-700 bg-neutral-800/50 px-3 py-3 h-[48px] transition-all focus-within:ring-1 focus-within:ring-brand-orange focus-within:border-brand-orange'
|
||||||
|
|
||||||
export default function PaymentForm({ plan, interval, limit }: PaymentFormProps) {
|
export default function PaymentForm({ plan, interval, limit }: PaymentFormProps) {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ const MOLLIE_PROFILE_ID = process.env.NEXT_PUBLIC_MOLLIE_PROFILE_ID || ''
|
|||||||
export const MOLLIE_FIELD_STYLES = {
|
export const MOLLIE_FIELD_STYLES = {
|
||||||
base: {
|
base: {
|
||||||
color: '#ffffff',
|
color: '#ffffff',
|
||||||
fontSize: '14px',
|
fontSize: '15px',
|
||||||
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
|
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
|
||||||
fontWeight: '400',
|
fontWeight: '400',
|
||||||
letterSpacing: '0.025em',
|
letterSpacing: '0.025em',
|
||||||
|
|||||||
Reference in New Issue
Block a user