File tree 2 files changed +8
-2
lines changed
packages/components/src/styles/components
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
// Copied from components/src/styles/components/tag.scss styles
9
9
// we set a higher value than the line-height (~13px) to accommodate cases where the text wraps
10
- $hds-tag-border-radius : 20 px ; // This variable is repeated from tag.scss
10
+ $hds-tag-border-radius : 50 px ; // This variable is repeated from tag.scss
11
11
$hds-super-select-item-height : 36px ;
12
12
13
13
// Style overrides:
Original file line number Diff line number Diff line change 10
10
@use " ../mixins/focus-ring" as * ;
11
11
12
12
// we set a higher value than the line-height (~13px) to accommodate cases where the text wraps
13
- $hds-tag-border-radius : 20 px ;
13
+ $hds-tag-border-radius : 50 px ;
14
14
15
15
.hds-tag {
16
16
display : inline-flex ;
@@ -20,6 +20,12 @@ $hds-tag-border-radius: 20px;
20
20
background-color : var (--token-color-surface-interactive );
21
21
border : 1px solid var (--token-color-border-strong );
22
22
border-radius : $hds-tag-border-radius ;
23
+ overflow : hidden ;
24
+ }
25
+
26
+ .hds-tag :focus-within ,
27
+ .hds-tag :has (.mock-focus ) {
28
+ overflow : visible ;
23
29
}
24
30
25
31
.hds-tag__dismiss {
You can’t perform that action at this time.
0 commit comments