대시보드 화면 디자인 수정 중

This commit is contained in:
2025-06-08 03:09:07 +09:00
parent 4a2c3714ba
commit 15299b3de5
14 changed files with 704 additions and 214 deletions

View File

@@ -1,10 +1,2 @@
module ApplicationHelper
def full_height_page?
controller_name.in?(%w[environment nutrient schedules]) && action_name == 'index' || action_name == 'schedule_edit'
end
def content_container_classes
base_classes = "flex-1 h-full pb-0 px-0 lg:pb-4 lg:px-4"
full_height_page? ? base_classes : "#{base_classes} overflow-y-auto"
end
end