Skip to content

Commit 358d767

Browse files
authored
fix: update button component size attribute (#3849)
1 parent 94f7b91 commit 358d767

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

packages/theme-saas/src/button-group/index.less

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@
5757
@apply absolute;
5858
@apply h-4;
5959
@apply w-px;
60-
@apply top-2;
60+
@apply top-1/2;
6161
left: -0.5px;
6262
@apply bg-color-border;
63+
transform: translateY(-50%);
6364
}
6465
}
6566

@@ -262,4 +263,25 @@
262263
@apply border-r-color-border-disabled;
263264
}
264265
}
266+
267+
&&--medium {
268+
ul li button {
269+
height: 42px;
270+
line-height: 42px;
271+
}
272+
}
273+
274+
&&--small {
275+
ul li button {
276+
height: 36px;
277+
line-height: 36px;
278+
}
279+
}
280+
281+
&&--mini {
282+
ul li button {
283+
@apply h-6;
284+
@apply leading-6;
285+
}
286+
}
265287
}

0 commit comments

Comments
 (0)