fix style

This commit is contained in:
pompurin404 2024-09-13 16:16:14 +08:00
parent 1ef2595de3
commit 48d8895a94
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -9,3 +9,4 @@
### Bug Fixes
- 修复全局覆写重复执行的问题
- 修复系统代理关闭失败的问题

View File

@ -319,7 +319,7 @@ const Proxies: React.FC = () => {
? { gridTemplateColumns: `repeat(${proxyCols}, minmax(0, 1fr))` }
: {}
}
className={`grid ${proxyCols === 'auto' ? 'sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5' : ''} gap-2 pt-2 mx-2`}
className={`grid ${proxyCols === 'auto' ? 'sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5' : ''} ${groupIndex === groupCounts.length - 1 && innerIndex === groupCounts[groupIndex] - 1 ? 'pb-2' : ''} gap-2 pt-2 mx-2`}
>
{Array.from({ length: cols }).map((_, i) => {
if (!allProxies[groupIndex][innerIndex * cols + i]) return null