Skip to content

Commit 12f803f

Browse files
committed
use the "small" html tag and reduce line height
1 parent 77e7157 commit 12f803f

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/compounds/ActionsGroup/actions/SendMessage.jsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,18 @@ const SendMessage = ({ backgroundColor, onSubmit, handleClose }) => {
7979
</Modal.Body>
8080
<Modal.Footer>
8181
<p className='fw-light fst-italic disclaimer'>
82-
Please note that Supplier pricing and other information marked confidential by Supplier must be treated as such.
82+
{/* The "small" tag will make the font size 0.875em of the parent element. It's also accessibility friendly */}
83+
<small>
84+
Please note that Supplier pricing and other information marked confidential by Supplier must be treated as such.
85+
</small>
8386
</p>
8487

8588
<p className='fw-light fst-italic disclaimer'>
86-
Do not include any Sensitive Personal Data (e.g. data consisting of racial or ethnic origin, political opinions, religious or
87-
philosophical beliefs, or trade union membership, genetic data, biometric data, data concerning health or data concerning a
88-
natural person's sex life or sexual orientation) or potentially regulated information in messages or attachments.
89+
<small>
90+
Do not include any Sensitive Personal Data (e.g. data consisting of racial or ethnic origin, political opinions, religious or
91+
philosophical beliefs, or trade union membership, genetic data, biometric data, data concerning health or data concerning a
92+
natural person's sex life or sexual orientation) or potentially regulated information in messages or attachments.
93+
</small>
8994
</p>
9095
<Button variant='primary' onClick={handleSubmit} type='submit'>
9196
Send

src/compounds/ActionsGroup/actions/styles.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
}
77

88
.disclaimer {
9-
font-size: 11px;
9+
font-size: 14px;
10+
line-height: 16px;
1011
}

0 commit comments

Comments
 (0)