Skip to content

Commit

Permalink
10427 Improve styling of Add IRS Notice link-style button
Browse files Browse the repository at this point in the history
  • Loading branch information
En-8 committed Sep 9, 2024
1 parent 44804f6 commit 80cc309
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions web-client/src/styles/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ label.ustc-upload {
resize: vertical;
}

.add-another-irs-notice-button,
.add-another-reason-button,
.add-another-fact-button {
@media only screen and (max-width: $medium-screen - 1px) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Button } from '@web-client/ustc-ui/Button/Button';
import { CaseTypeSelect } from '@web-client/views/StartCase/CaseTypeSelect';
import { FormGroup } from '@web-client/ustc-ui/FormGroup/FormGroup';
import { Icon } from '@web-client/ustc-ui/Icon/Icon';
import { IrsNoticeUploadForm } from './IrsNoticeUploadForm';
import { RedactionAcknowledgement } from '@web-client/views/StartCaseUpdated/RedactionAcknowledgement';
import { UpdatedFilePetitionButtons } from '@web-client/views/StartCaseUpdated/UpdatedFilePetitionButtons';
Expand All @@ -11,7 +10,6 @@ import { sequences } from '@web-client/presenter/app.cerebral';
import { state } from '@web-client/presenter/app.cerebral';
import { useValidationFocus } from '@web-client/views/UseValidationFocus';
import React from 'react';
import classNames from 'classnames';

export const UpdatedFilePetitionStep3 = connect(
{
Expand Down Expand Up @@ -163,15 +161,11 @@ export const UpdatedFilePetitionStep3 = connect(
{irsNoticeUploadFormInfo.length < 5 && (
<Button
link
className={classNames('padding-top-0', 'text-left')}
className="add-another-notice-button padding-0"
data-testid="add-another-irs-notice-button"
icon="plus"
onClick={() => addAnotherIrsNoticeToFormSequence()}
>
<Icon
className="fa-icon-blue"
icon={['fas', 'plus']}
size="1x"
/>
Add another IRS Notice
</Button>
)}
Expand Down

0 comments on commit 80cc309

Please sign in to comment.