Skip to content

Commit

Permalink
Adjust margin before overwrite text
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Dec 16, 2020
1 parent 8ca0471 commit 53d8c03
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions superset-frontend/src/components/ImportModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ const StyledInputContainer = styled.div`
padding-top: 8px;
}
.confirm-overwrite {
margin-bottom: ${({ theme }) => theme.gridUnit * 2}px;
}
.input-container {
display: flex;
align-items: center;
Expand Down Expand Up @@ -230,11 +234,9 @@ const ImportModelsModal: FunctionComponent<ImportModelsModalProps> = ({
return (
<>
<StyledInputContainer>
<div>{confirmOverwriteMessage}</div>
<div className="confirm-overwrite">{confirmOverwriteMessage}</div>
<div className="control-label">
<label htmlFor="overwrite">
{t('Type "%s" to confirm', t('OVERWRITE'))}
</label>
{t('Type "%s" to confirm', t('OVERWRITE'))}
</div>
<input
data-test="overwrite-modal-input"
Expand Down

0 comments on commit 53d8c03

Please sign in to comment.