guy 3 years ago
parent
commit
0c312e34ea
  1. 6
      src/base/single/input/radio/radio.js
  2. 3
      src/less/base/single/input/radio.less

6
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);
BI.shortcut("bi.radio", BI.Radio);

3
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 @@
}
}
}
}
}

Loading…
Cancel
Save