Skip to content

Commit 2dc7479

Browse files
fix: #1311
1 parent 335aefe commit 2dc7479

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

src/plugin/syringe/index.less

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,26 @@ body {
112112
flex-flow: column;
113113

114114
// 当其他脚本在这里插入过多链接时。修改布局
115-
--ehs-gap: 1;
116-
&:has(:nth-child(8)) {
117-
--ehs-gap: 0;
118-
justify-content: space-around;
115+
&:has(> :nth-child(10)) {
116+
:is(.g2, .g3):not(:has(+ .gsp)) {
117+
padding-bottom: 8px;
118+
}
119+
.gsp {
120+
padding-top: 0;
121+
}
122+
}
123+
&:has(> :nth-child(15)) {
124+
:is(.g2, .g3):not(:has(+ .gsp)) {
125+
padding-bottom: 4px;
126+
}
127+
.gsp {
128+
padding-top: 0;
129+
}
119130
}
120131
}
121132
.g2,
122133
.g3 {
123-
padding-bottom: calc(20px * var(--ehs-gap, 1));
134+
padding-bottom: 20px;
124135
}
125136
.gsp {
126137
padding-top: 10px;

0 commit comments

Comments
 (0)