Skip to content

Commit

Permalink
Import capture: Update parent class name, avoiding style overrides (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bogiii authored Dec 18, 2023
1 parent dc00f1d commit fe8d181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions client/blocks/import/capture/capture-input.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable wpcalypso/jsx-classname-namespace */
import { Button } from '@automattic/components';
import { NextButton } from '@automattic/onboarding';
import { createElement, createInterpolateElement } from '@wordpress/element';
Expand Down Expand Up @@ -65,7 +64,7 @@ const CaptureInput: FunctionComponent< Props > = ( props ) => {
}

return (
<form className={ classnames( 'import-light__capture' ) } onSubmit={ onFormSubmit }>
<form className="import__capture" onSubmit={ onFormSubmit }>
<FormFieldset>
<FormLabel>{ translate( 'Enter the URL of the site:' ) }</FormLabel>
<FormTextInput
Expand Down
2 changes: 1 addition & 1 deletion client/blocks/import/capture/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
margin: 0 auto;
}

.import-light__capture {
.import__capture {
.form-label {
font-size: 0.875rem;
font-weight: 500;
Expand Down

0 comments on commit fe8d181

Please sign in to comment.