From 9b64dd7f611e4f5180248483b884f7ce138a4747 Mon Sep 17 00:00:00 2001 From: Kevin Hendrawan Date: Wed, 10 Dec 2025 11:19:41 +0700 Subject: [PATCH] feat add css --- Views/Master/Lokasi/Index.cshtml | 30 ++++++++++++++---------------- wwwroot/css/select2-custom.css | 15 +++++++++++++++ 2 files changed, 29 insertions(+), 16 deletions(-) create mode 100644 wwwroot/css/select2-custom.css diff --git a/Views/Master/Lokasi/Index.cshtml b/Views/Master/Lokasi/Index.cshtml index bf37910..de2efdd 100644 --- a/Views/Master/Lokasi/Index.cshtml +++ b/Views/Master/Lokasi/Index.cshtml @@ -2,24 +2,22 @@ ViewData["Title"] = "Lokasi Maggot, Bank Sampah, Composting"; } - + .select2-selection__rendered { + line-height: 2rem !important; + } + .select2-selection__arrow { + height: 2rem !important; + } +
diff --git a/wwwroot/css/select2-custom.css b/wwwroot/css/select2-custom.css new file mode 100644 index 0000000..6251f04 --- /dev/null +++ b/wwwroot/css/select2-custom.css @@ -0,0 +1,15 @@ +/* Sesuaikan tampilan select2 dengan DaisyUI */ +.select2-container .select2-selection--single { + height: 3rem; + padding: 0.5rem 1rem; + border-radius: 0.5rem; + border: 1px solid #d4d4d8; +} + +.select2-selection__rendered { + line-height: 2rem !important; +} + +.select2-selection__arrow { + height: 2rem !important; +} \ No newline at end of file