From 0c312e34ea3ad22d69e63d87527b44df43922147 Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 11 Oct 2021 23:00:11 +0800 Subject: [PATCH] bugfix --- src/base/single/input/radio/radio.js | 6 +++--- src/less/base/single/input/radio.less | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/base/single/input/radio/radio.js b/src/base/single/input/radio/radio.js index 6cf5e3635..61096af65 100644 --- a/src/base/single/input/radio/radio.js +++ b/src/base/single/input/radio/radio.js @@ -9,8 +9,8 @@ BI.Radio = BI.inherit(BI.BasicButton, { baseCls: "bi-radio", selected: false, handler: BI.emptyFn, - width: 16, - height: 16, + width: 14, + height: 14, iconWidth: 14, iconHeight: 14 }, @@ -59,4 +59,4 @@ BI.Radio = BI.inherit(BI.BasicButton, { }); BI.Radio.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.radio", BI.Radio); \ No newline at end of file +BI.shortcut("bi.radio", BI.Radio); diff --git a/src/less/base/single/input/radio.less b/src/less/base/single/input/radio.less index 334ea42ca..2e2cda48a 100644 --- a/src/less/base/single/input/radio.less +++ b/src/less/base/single/input/radio.less @@ -4,6 +4,7 @@ & .radio-content, &.radio-content { .border-radius(8px); border: 1px solid @color-bi-border-dark-line; + .box-sizing(border-box); &:after { content: ""; } @@ -74,4 +75,4 @@ } } } -} \ No newline at end of file +}