From 5a874475556622b3f36f668dad123ee8c7f9adb7 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Thu, 30 May 2024 17:11:50 +0800 Subject: [PATCH] 1 --- resources/views/admin/home.blade.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index 8be988d..ecd8e35 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -182,6 +182,7 @@ display: flex; } .type-switch .type-switch__item { + padding: 0 20px; position: relative; } .type-switch .type-switch__item > input { @@ -194,6 +195,15 @@ } .type-switch .type-switch__item:has(input:checked) .text { color: #609ff9; + position: relative; + } + .type-switch .type-switch__item:has(input:checked) .text::after { + width: 100%; + height: 4px; + background: #609ff9; + position: absolute; + left: 0; + bottom: -14px; } @endpush @@ -282,8 +292,6 @@