Skip to content

Commit 6aeec78

Browse files
committed
Add a bit margin to margin to make selection more visible
1 parent 866ce7a commit 6aeec78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/uui-color-swatch/lib/uui-color-swatch.element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ export class UUIColorSwatchElement extends LabelMixin(
250250
margin: 0;
251251
text-align: left;
252252
border-radius: 3px;
253+
border: 1px solid #ccc;
253254
}
254255
255256
:host(:not([selectable])) #swatch:focus {
@@ -291,6 +292,7 @@ export class UUIColorSwatchElement extends LabelMixin(
291292
flex-direction: column;
292293
justify-content: center;
293294
align-items: center;
295+
margin: 2px;
294296
}
295297
296298
:host([show-label]) .color-swatch {

0 commit comments

Comments
 (0)