Skip to content

Commit

Permalink
fix: proxy group grid style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Feb 25, 2025
1 parent cde403e commit daa8a9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/proxies/ProxyGroupForMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
]"
:style="[
modalMode && {
'max-height': '50dvh',
width: 'calc(100vw - 1rem)',
},
activeMode && {
Expand Down Expand Up @@ -78,7 +77,7 @@

<div
v-if="modalMode"
class="grid flex-1 grid-cols-2 gap-2 overflow-y-auto overflow-x-hidden p-2"
class="grid max-h-[40dvh] flex-1 grid-cols-2 gap-2 overflow-y-auto overflow-x-hidden p-2"
>
<ProxyNodeCard
v-for="node in diplayAllContent ? renderProxies : renderProxies.slice(0, 16)"
Expand All @@ -87,7 +86,6 @@
:group-name="proxyGroup.name"
:active="node === proxyGroup.now"
@click.stop="handlerProxySelect(node)"
class="max-h-14"
/>
</div>
</div>
Expand Down

0 comments on commit daa8a9f

Please sign in to comment.