Skip to content

Commit 78c2bde

Browse files
authored
Update index.module.scss (alibaba#79)
解决这里width: (100 / 3) * 1%;报错警告
1 parent 251534c commit 78c2bde

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/plugin-components-pane/src/components/Component/index.module.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
@use "sass:math";
12
.card {
23
display: flex;
34
flex-direction: column;
45
padding: 14px;
56
align-items: center;
67
justify-content: space-between;
7-
width: (100 / 3) * 1%;
8+
width: math.div(1, 3);
89
height: 114px;
910
flex-grow: 0;
1011
flex-shrink: 0;

0 commit comments

Comments
 (0)