Skip to content

Commit

Permalink
Update proxies style
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Jan 23, 2024
1 parent ec92009 commit 79b7e81
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/views/Proxies.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@
:id="Proxies.indexOf(item)"
>
<n-space style="display: block">
<n-card :title="'ID: ' + item.id + ' - ' + item.proxy_name">
<n-card style="min-height: 350px;">
<div style="overflow-y: auto; height: 75px;" class="node-title">
<h2 style="font-weight: 400;">{{ item.proxy_name }}</h2>
<n-tag :bordered="false" type="success">ID: {{ item.id }}</n-tag>
</div>
<br />
<n-tag :bordered="false" type="success">
{{ item.proxy_type }}
</n-tag>
Expand Down Expand Up @@ -177,6 +182,7 @@
>删除
</n-button>
<!-- 这个click被我利用到极致了 -->
<!-- JS大蛇你妈的也不套 () => {} 帮你套了下次别乱写了 -->
<n-button
style="margin: 1px"
strong
Expand Down Expand Up @@ -515,3 +521,9 @@ function deleteProxy(id) {
})
}
</script>

<style scoped>
.node-title::-webkit-scrollbar {
display: none;
}
</style>

0 comments on commit 79b7e81

Please sign in to comment.