Skip to content

Commit

Permalink
refactor: 更新水位
Browse files Browse the repository at this point in the history
  • Loading branch information
lucy-cl committed Mar 24, 2023
1 parent 9d1cdd9 commit 9af9385
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Wcapacity/percentBar/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $wcapacity-prefix: '.#{$base-name}.#{$base-prefix}-wcapacity';
$bg-color: getVar(widgets-color-container-background, $widgets-color-container-background);
$label-size: getVar(widgets-font-size-6, $widgets-font-size-6);
$unit-size: getVar(widgets-font-size-2, $widgets-font-size-2);
$guide-size: getVar(widgets-font-size-3, $widgets-font-size-3);
$label-medium-size: getVar(widgets-font-size-3, $widgets-font-size-3);
$title-size: getVar(widgets-font-size-1, $widgets-font-size-1);
$label-color: getVar(widgets-numbercard-color-text, $widgets-numbercard-color-text);
$title-color: getVar(widgets-color-text-2, $widgets-color-text-2);
Expand Down Expand Up @@ -63,9 +63,9 @@ $error-background: getVar(widgets-capacity-background-error, $widgets-capacity-b

#{$wcapacity-prefix}-bar-guide-text {
text-align: left;
font-size: $guide-size;
font-size: $title-size;
position: relative;
top: -24px;
top: -20px;
left: 8px;
}
}
Expand Down Expand Up @@ -96,7 +96,7 @@ $error-background: getVar(widgets-capacity-background-error, $widgets-capacity-b
color: $label-color;

&.medium {
font-size: $guide-size;
font-size: $label-medium-size;
}

&.large {
Expand Down

0 comments on commit 9af9385

Please sign in to comment.