Skip to content

Commit

Permalink
fix(module: radio): fix listitem can't click when not using list wrap…
Browse files Browse the repository at this point in the history
…er (#756)
  • Loading branch information
nuonuoge committed Nov 9, 2020
1 parent 4a40de4 commit 9089a24
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion components/radio/style/addon.less
Expand Up @@ -13,4 +13,36 @@ radioitem {
}
}
}
}
}

.@{listPrefixCls}-item {
&.@{radioWarpPrefixCls}-item {
.@{listPrefixCls}-line {
.@{listPrefixCls}-extra {
flex: 0;

.@{radioWarpPrefixCls} {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: @list-item-height;
overflow: visible;

&-inner {
right: @v-spacing-lg;
top: @h-spacing-lg;
}
}
}
}

&.@{radioWarpPrefixCls}-item-disabled {
.@{listPrefixCls}-content {
color: @color-text-disabled;
}
}
}
}

0 comments on commit 9089a24

Please sign in to comment.