Skip to content

Commit 9d046e5

Browse files
Merge pull request #5991 from pat270/LPD-49625
fix(@clayui/css): LPD-48267 Label close button should be 24px x 24px …
2 parents 8834462 + 72b058f commit 9d046e5

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

packages/clay-css/src/scss/atlas/variables/_labels.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ $label: map-deep-merge($label, $label-base);
6363
$label-close: () !default;
6464
$label-close: map-deep-merge(
6565
(
66+
margin: -5px -4px,
6667
disabled: (
6768
color: inherit,
6869
),

packages/clay-css/src/scss/cadmin/variables/_labels.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,14 @@ $cadmin-label-dismissible: map-merge(
127127
$cadmin-label-close: () !default;
128128
$cadmin-label-close: map-deep-merge(
129129
(
130-
border-radius: 1px,
130+
border-radius: 5000px,
131131
color: inherit,
132132
display: inline-flex,
133133
font-size: 16px,
134-
height: auto,
135-
margin-bottom: -2px,
136-
margin-top: -2px,
134+
height: 24px,
135+
margin: -5px -4px,
137136
opacity: 1,
138-
width: auto,
137+
width: 24px,
139138
hover: (
140139
color: inherit,
141140
opacity: 1,

packages/clay-css/src/scss/variables/_labels.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,14 @@ $label-dismissible: map-merge(
125125
$label-close: () !default;
126126
$label-close: map-deep-merge(
127127
(
128-
border-radius: 1px,
128+
border-radius: 5000px,
129129
color: inherit,
130130
display: inline-flex,
131131
font-size: 1rem,
132-
height: auto,
133-
margin-bottom: -2px,
134-
margin-top: -2px,
132+
height: 1.5rem,
133+
margin: -6px,
135134
opacity: 1,
136-
width: auto,
135+
width: 1.5rem,
137136
hover: (
138137
color: inherit,
139138
opacity: 1,

0 commit comments

Comments
 (0)