Skip to content

Commit

Permalink
fix: InlineMessage style (#5064)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmainguytalend authored Dec 18, 2023
1 parent e7c8941 commit 43776f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-pans-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/design-system': patch
---

Fix minor side effect w/ InlineMessage component style when used in modal
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@use '~@talend/design-tokens/lib/tokens';

.inlineMessage {
display: inline;
align-items: center;
display: flex;

font: tokens.$coral-paragraph-m;
color: tokens.$coral-color-neutral-text;

Expand All @@ -13,10 +15,9 @@
margin-right: tokens.$coral-spacing-xxs;
width: tokens.$coral-sizing-xxxs;
height: tokens.$coral-sizing-xxxs;
display: inline-block;
display: inline-flex;
// Visually align icon in inline mode
position: relative;
top: 0.3rem;

svg {
width: tokens.$coral-sizing-xxxs;
Expand Down Expand Up @@ -51,5 +52,4 @@
top: 0.1rem;
}
}

}

0 comments on commit 43776f7

Please sign in to comment.