From 829bd730344b9605de89bca6050a98faefb6156c Mon Sep 17 00:00:00 2001 From: Andrian Roshandy Date: Mon, 29 Sep 2025 07:46:13 +0700 Subject: [PATCH] feat/tidy-up: - mengurangi elm yg tidak diperlukan - menyesuaikan font-size sesuai breakpoint --- app/assets/css/main.css | 6 +- app/components/app/medicine/entry-form.vue | 2 +- .../app/prescription-item/list-entry.ts | 66 ++++++++++++++ .../app/prescription-item/list-entry.vue | 19 ++++ app/components/app/prescription/entry.vue | 32 +++++++ app/components/app/prescription/list.vue | 42 +++++++++ app/components/content/division/list.vue | 44 +++++----- app/components/content/equipment/list.vue | 86 +++++++++---------- app/components/content/installation/list.vue | 38 ++++---- .../content/medicine-group/list.vue | 84 +++++++++--------- .../content/medicine-method/list.vue | 84 +++++++++--------- app/components/content/prescription/list.vue | 69 +++++++++++++++ app/components/content/specialist/list.vue | 60 +++++++------ app/components/content/subspecialist/list.vue | 64 +++++++------- app/components/content/tools/list.vue | 86 +++++++++---------- app/components/content/unit/list.vue | 40 ++++----- app/components/layout/SidebarNavGroup.vue | 6 +- app/components/layout/SidebarNavLink.vue | 4 +- app/components/pub/custom-ui/form/label.vue | 4 +- app/components/pub/ui/input/Input.vue | 2 +- app/components/pub/ui/label/Label.vue | 2 +- .../pub/ui/select/SelectTrigger.vue | 2 +- app/layouts/default.vue | 19 +++- .../(features)/org-src/division/index.vue | 10 +-- .../(features)/org-src/installation/index.vue | 10 +-- .../(features)/org-src/specialist/index.vue | 10 +-- .../org-src/subspecialist/index.vue | 10 +-- app/pages/(features)/org-src/unit/index.vue | 10 +-- .../tools-equipment-src/equipment/index.vue | 12 ++- .../medicine-method/index.vue | 12 ++- .../medicine-type/index.vue | 12 ++- .../tools-equipment-src/medicine/add.vue | 4 +- .../tools-equipment-src/medicine/index.vue | 10 +-- .../tools-equipment-src/tools/index.vue | 12 ++- app/pages/_dev/prescription/list.vue | 41 +++++++++ 35 files changed, 628 insertions(+), 386 deletions(-) create mode 100644 app/components/app/prescription-item/list-entry.ts create mode 100644 app/components/app/prescription-item/list-entry.vue create mode 100644 app/components/app/prescription/entry.vue create mode 100644 app/components/app/prescription/list.vue create mode 100644 app/components/content/prescription/list.vue create mode 100644 app/pages/_dev/prescription/list.vue diff --git a/app/assets/css/main.css b/app/assets/css/main.css index d27f89d7..b04b1eac 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -170,7 +170,11 @@ body { } body { - @apply bg-slate-100 dark:bg-slate-800; + @apply bg-slate-100 dark:bg-slate-800 ; +} + +body, table, label { + @apply md:!text-xs xl:!text-sm 2xl:!text-base; } /* Container */ diff --git a/app/components/app/medicine/entry-form.vue b/app/components/app/medicine/entry-form.vue index 5d3c495d..719eea5d 100644 --- a/app/components/app/medicine/entry-form.vue +++ b/app/components/app/medicine/entry-form.vue @@ -38,7 +38,7 @@ const items = [ - +