style(worker): 寄卖规格 chips 只有一个选项时四角统一圆角
苏尔南区服现在只有「互通」一个选项,chips 的 :first-child/::last-child 圆角规则同时命中、last-child 在后覆盖成"左方右圆";补 :only-child 规则让唯一选项四个角都是 8px 圆角,与多选项时的观感一致
This commit is contained in:
@@ -4310,6 +4310,12 @@ body {
|
||||
border-radius: 0 8px 8px 0;
|
||||
}
|
||||
|
||||
/* 只有一个选项时(如苏尔南区服的「互通」):first/last 两条规则同时命中,
|
||||
last-child 在后会把它覆盖成"左方右圆",这里统一四个角都是圆的 */
|
||||
.worker-consignment-chips .ant-radio-button-wrapper:only-child {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.worker-consignment-chips .ant-radio-button-wrapper-checked {
|
||||
background: #ff6a00;
|
||||
border-color: #ff6a00;
|
||||
|
||||
Reference in New Issue
Block a user