Onboarding - business details step: increase max-height on competitors listbox (https://github.com/woocommerce/woocommerce-admin/pull/4111)
* Enlarged competitors' Listbox in the Onboarding Onboarding - Added a new class to enlarge the competitors' Listbox in the Business details step. * Replaced fixed height with unset Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
This commit is contained in:
parent
cf2185eaaa
commit
b96ee37992
|
@ -626,30 +626,34 @@ class BusinessDetails extends Component {
|
|||
'brick-mortar-other',
|
||||
].includes( values.selling_venues ) && (
|
||||
<Fragment>
|
||||
<SelectControl
|
||||
label={ __(
|
||||
'Which platform is the store using?',
|
||||
'woocommerce-admin'
|
||||
) }
|
||||
options={ otherPlatformOptions }
|
||||
required
|
||||
{ ...getInputProps(
|
||||
'other_platform'
|
||||
) }
|
||||
/>
|
||||
{ values.other_platform ===
|
||||
'other' && (
|
||||
<TextControl
|
||||
<div className="business-competitors">
|
||||
<SelectControl
|
||||
label={ __(
|
||||
'What is the platform name?',
|
||||
'Which platform is the store using?',
|
||||
'woocommerce-admin'
|
||||
) }
|
||||
options={
|
||||
otherPlatformOptions
|
||||
}
|
||||
required
|
||||
{ ...getInputProps(
|
||||
'other_platform_name'
|
||||
'other_platform'
|
||||
) }
|
||||
/>
|
||||
) }
|
||||
{ values.other_platform ===
|
||||
'other' && (
|
||||
<TextControl
|
||||
label={ __(
|
||||
'What is the platform name?',
|
||||
'woocommerce-admin'
|
||||
) }
|
||||
required
|
||||
{ ...getInputProps(
|
||||
'other_platform_name'
|
||||
) }
|
||||
/>
|
||||
) }
|
||||
</div>
|
||||
</Fragment>
|
||||
) }
|
||||
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
max-width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.business-competitors .woocommerce-select-control__listbox {
|
||||
max-height: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__card-actions {
|
||||
|
|
Loading…
Reference in New Issue