Skip to content

Commit

Permalink
fix(color-picker): Optimize background overflow for color control bar
Browse files Browse the repository at this point in the history
  • Loading branch information
oljc committed May 6, 2024
1 parent fd5f01f commit fdd7e3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web-vue/components/color-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
transparent 0
);
background-size: 8px 8px;
border-radius: @color-control-bar-border-radius;
}

.@{color-picker-prefix-cls}-control-bar {
Expand All @@ -224,7 +225,7 @@
width: @color-control-bar-width;
height: @color-control-bar-height;
border: 1px solid @color-panel-border-color;
border-radius: 10px;
border-radius: @color-control-bar-border-radius;
cursor: pointer;

.@{color-picker-prefix-cls}-handler {
Expand Down
1 change: 1 addition & 0 deletions packages/web-vue/components/color-picker/style/token.less
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
@color-control-bar-height: 14px;
@color-control-bar-handle-size: @size-4;
@color-control-bar-alpha-margin-top: @spacing-6;
@color-control-bar-border-radius: 10px;

@color-panel-input-margin-top: @spacing-6;
@color-panel-input-group-margin-left: @spacing-6;
Expand Down

0 comments on commit fdd7e3b

Please sign in to comment.