浏览代码

dev: automated commit - 2026-03-08 15:50:03

Mariano Z. 2 周之前
父节点
当前提交
28fbbe37a1
共有 1 个文件被更改,包括 18 次插入18 次删除
  1. 18 18
      frontend/src/views/RecordsView.vue

+ 18 - 18
frontend/src/views/RecordsView.vue

@@ -239,17 +239,17 @@ onMounted(loadData)
     <template v-else>
       <!-- Dynamic Records -->
       <Collapsible :default-open="true" v-slot="{ open }">
-        <div class="flex items-center justify-between">
-          <div class="space-y-1">
-            <h2 class="text-lg font-semibold tracking-tight">Dynamic Records</h2>
-            <p class="text-sm text-muted-foreground">Updated automatically by the DDNS updater</p>
-          </div>
-          <CollapsibleTrigger as-child>
-            <Button variant="ghost" size="icon" class="h-8 w-8">
+        <CollapsibleTrigger as-child>
+          <div class="flex items-center justify-between cursor-pointer">
+            <div class="space-y-1">
+              <h2 class="text-lg font-semibold tracking-tight">Dynamic Records</h2>
+              <p class="text-sm text-muted-foreground">Updated automatically by the DDNS updater</p>
+            </div>
+            <Button variant="ghost" size="icon" class="h-8 w-8" as="div">
               <ChevronsUpDown class="h-4 w-4" />
             </Button>
-          </CollapsibleTrigger>
-        </div>
+          </div>
+        </CollapsibleTrigger>
         <CollapsibleContent>
           <!-- Desktop table -->
           <div class="hidden sm:block rounded-md border mt-3">
@@ -379,17 +379,17 @@ onMounted(loadData)
 
       <!-- Static Records -->
       <Collapsible :default-open="true" v-slot="{ open }">
-        <div class="flex items-center justify-between">
-          <div class="space-y-1">
-            <h2 class="text-lg font-semibold tracking-tight">Static Records</h2>
-            <p class="text-sm text-muted-foreground">Not managed by the DDNS updater</p>
-          </div>
-          <CollapsibleTrigger as-child>
-            <Button variant="ghost" size="icon" class="h-8 w-8">
+        <CollapsibleTrigger as-child>
+          <div class="flex items-center justify-between cursor-pointer">
+            <div class="space-y-1">
+              <h2 class="text-lg font-semibold tracking-tight">Static Records</h2>
+              <p class="text-sm text-muted-foreground">Not managed by the DDNS updater</p>
+            </div>
+            <Button variant="ghost" size="icon" class="h-8 w-8" as="div">
               <ChevronsUpDown class="h-4 w-4" />
             </Button>
-          </CollapsibleTrigger>
-        </div>
+          </div>
+        </CollapsibleTrigger>
         <CollapsibleContent>
           <!-- Desktop table -->
           <div class="hidden sm:block rounded-md border mt-3">