Skip to content

Commit 198a47e

Browse files
authored
🐛 修复 Sidebar 导致卡片模式下的尺寸调整异常 #1179 (#1373)
1 parent 144dc25 commit 198a47e

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

src/pages/options/index.css

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,7 @@ h6.arco-typography {
9393
}
9494

9595
.script-card-grid {
96-
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
97-
}
98-
99-
@media (max-width: 960px) {
100-
.script-card-grid {
101-
grid-template-columns: 1fr 1fr;
102-
}
103-
}
104-
105-
@media (max-width: 640px) {
106-
.script-card-grid {
107-
grid-template-columns: 1fr;
108-
}
96+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
10997
}
11098

11199
}

0 commit comments

Comments
 (0)