fix(Tag): incorrect round radius (#4762)

This commit is contained in:
neverland 2019-10-17 19:31:50 +08:00 committed by GitHub
parent 0a1d6b5a9b
commit 8d55e737c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
.van-slider { .van-slider {
position: relative; position: relative;
background-color: @slider-inactive-background-color; background-color: @slider-inactive-background-color;
border-radius: 999px; border-radius: @border-radius-max;
// use pseudo element to expand click area // use pseudo element to expand click area
&::before { &::before {

View File

@ -48,6 +48,7 @@
@border-width-base: 1px; @border-width-base: 1px;
@border-radius-sm: 2px; @border-radius-sm: 2px;
@border-radius-md: 4px; @border-radius-md: 4px;
@border-radius-max: 999px;
// ActionSheet // ActionSheet
@action-sheet-max-height: 90%; @action-sheet-max-height: 90%;
@ -120,7 +121,7 @@
@button-warning-border-color: @orange; @button-warning-border-color: @orange;
@button-border-width: @border-width-base; @button-border-width: @border-width-base;
@button-border-radius: @border-radius-sm; @button-border-radius: @border-radius-sm;
@button-round-border-radius: 10em; @button-round-border-radius: @border-radius-max;
@button-plain-background-color: @white; @button-plain-background-color: @white;
@button-disabled-opacity: @disabled-opacity; @button-disabled-opacity: @disabled-opacity;
@ -649,7 +650,7 @@
@tag-large-font-size: @font-size-md; @tag-large-font-size: @font-size-md;
@tag-text-color: @white; @tag-text-color: @white;
@tag-border-radius: .2em; @tag-border-radius: .2em;
@tag-round-border-radius: .8em; @tag-round-border-radius: @border-radius-max;
@tag-dander-color: @red; @tag-dander-color: @red;
@tag-primary-color: @blue; @tag-primary-color: @blue;
@tag-success-color: @green; @tag-success-color: @green;