Skip to content

Commit 354d753

Browse files
authored
Merge pull request #253 from hashicorp/melsumner/bug-icon-size
copy-item icon size bugfix
2 parents 5574975 + 2178698 commit 354d753

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/silver-peas-sparkle.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hashicorp/design-system-components": patch
3+
---
4+
5+
bugfix for icon size in copy-item component

packages/components/app/styles/components/dropdown.scss

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ $hds-dropdown-toggle-border-radius: 5px;
205205

206206
.hds-dropdown-list-item__copy-item-icon {
207207
color: var(--token-color-foreground-action);
208+
flex: none;
208209
margin-left: 8px;
209210
}
210211

packages/components/tests/dummy/app/templates/components/dropdown.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@
10791079
<Hds::Dropdown::ListItem::CopyItem @text="{{state}}: 91ee1e8ef65b337f0e70d793f456c71d" @state={{state}} />
10801080
{{/each}}
10811081
<Hds::Dropdown::ListItem::CopyItem
1082-
@text="success: 91ee1e8ef65b337f0e70d793f456c71d"
1082+
@text="success: 91ee1e8ef65b337f0e70d793f456c71d91ee1e8ef65b337f0e70d793f456c71d91ee1e8ef65b337f0e70d793f456c71d"
10831083
@state="success"
10841084
@isSuccess="true"
10851085
/>

0 commit comments

Comments
 (0)