File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
packages/shineout-style/src Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " sheinx" ,
33 "private" : true ,
4- "version" : " 3.9.9-beta.9 " ,
4+ "version" : " 3.9.9-beta.10 " ,
55 "description" : " A react library developed with sheinx" ,
66 "module" : " dist/index.js" ,
77 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const checkboxStyle: JsStyles<keyof CheckboxClasses> = {
3232 boxSizing : 'border-box' ,
3333 width : token . checkboxIconSize ,
3434 height : token . checkboxIconSize ,
35- marginTop : 4 ,
35+ marginTop : 'var(--soui-checkbox-indicator-margin-top, 4px)' ,
3636 flexShrink : 0 ,
3737 '$wrapperSmall &' : {
3838 width : token . checkboxSmallIconSize ,
Original file line number Diff line number Diff line change @@ -286,13 +286,9 @@ const treeStyle: JsStyles<TreeClassType> = {
286286 } ,
287287 checkbox : {
288288 '&[class*="checkbox-wrapper"]' : {
289- height : 26 ,
290- alignSelf : 'flex-start' ,
291289 marginRight : Token . treeCheckboxMarginX ,
290+ '--soui-checkbox-indicator-margin-top' : '0px' ,
292291 } ,
293- '$sizeLarge &' : {
294- marginTop : 4 ,
295- }
296292 } ,
297293 text : {
298294 cursor : 'pointer' ,
You can’t perform that action at this time.
0 commit comments