File tree 3 files changed +3
-2
lines changed
@adobe/spectrum-css-temp/components/tags
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ governing permissions and limitations under the License.
46
46
47
47
display : inline-grid;
48
48
align-items : center;
49
+ vertical-align : middle;
49
50
box-sizing : border-box;
50
51
position : relative;
51
52
cursor : default;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const WithIcon: TagGroupStory = {
72
72
< TagGroup { ...args } aria-label = "Tag group" >
73
73
{ ( item : any ) => (
74
74
< Item key = { item . key } textValue = { item . label } >
75
- < Audio />
75
+ { item . id !== 1 && < Audio /> }
76
76
< Text > { item . label } </ Text >
77
77
</ Item >
78
78
) }
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export const WithAvatar: TagGroupStory = {
175
175
< TagGroup aria-label = "Tag group with avatars" { ...args } >
176
176
{ ( item : any ) => (
177
177
< Item key = { item . key } textValue = { item . label } >
178
- < Avatar src = "https://i.imgur.com/kJOwAdv.png" alt = "default Adobe avatar" />
178
+ { item . key === '1' && < Avatar src = "https://i.imgur.com/kJOwAdv.png" alt = "default Adobe avatar" /> }
179
179
< Text > { item . label } </ Text >
180
180
</ Item >
181
181
) }
You can’t perform that action at this time.
0 commit comments