Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Nov 28, 2024
1 parent 2061c05 commit 95232e0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/components/sidebar/CommonCtrl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<div class="flex flex-1 items-end justify-end p-2">
<button
class="btn btn-circle btn-ghost btn-xs hidden md:flex"
v-if="!isSiderbarCollapsed"
@click="isSiderbarCollapsed = true"
>
<ArrowLeftCircleIcon class="h-5 w-5" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/ConnectionCtrl.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div :class="twMerge('flex flex-col gap-2 p-2 text-sm', horizontal && 'flex-row')">
<div :class="twMerge('flex flex-col gap-2 p-2 text-sm', horizontal && 'flex-row pb-0')">
<div class="tabs-boxed tabs tabs-sm">
<a
role="tab"
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/LogsCtrl.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div :class="twMerge('join w-full p-2', horizontal && 'w-96')">
<div :class="twMerge('join w-full p-2', horizontal && 'w-96 pb-0')">
<select
class="join-item select select-bordered select-sm"
v-model="logLevel"
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/ProxiesCtrl.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
:class="twMerge('flex flex-col gap-2 p-2', horizontal && 'flex-row')"
:class="twMerge('flex flex-col gap-2 p-2', horizontal && 'flex-row pb-0')"
v-if="configs"
>
<template v-if="proxyProviederList.length">
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/RulesCtrl.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
:class="twMerge('flex flex-col gap-2 p-2', horizontal && 'flex-row')"
:class="twMerge('flex flex-col gap-2 p-2', horizontal && 'flex-row pb-0')"
v-if="ruleProviderList.length"
>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/views/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
:is="ctrlComp"
:horizontal="true"
/>
<RouterView></RouterView>
<RouterView />

<div class="flex h-12 w-full items-center justify-center gap-1 bg-base-200 p-1 md:hidden">
<ul class="menu menu-horizontal">
Expand Down

0 comments on commit 95232e0

Please sign in to comment.