From 8ba6c75ac3a888e06734aab543ef301545103518 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Mon, 3 Aug 2026 23:59:45 +0200 Subject: [PATCH] adaptacion al telefono --- resources/css/app.css | 15 +++++++++++++++ resources/js/Components/Dropdown.vue | 12 ++++++++---- resources/js/Layouts/AuthenticatedLayout.vue | 20 ++++++++++++++++++++ resources/js/Pages/Projects/Show.vue | 4 ++-- 4 files changed, 45 insertions(+), 6 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index 5f46dc7..f71a4ed 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -3,6 +3,11 @@ body { font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; + overflow-x: hidden; +} + +.offcanvas { + max-width: 100vw; } .task-description-editor { @@ -74,6 +79,16 @@ .priority-option-low { --priority-active-text: #fff; } +@media (max-width: 575.98px) { + .offcanvas.offcanvas-end { + width: 100vw; + } + + .priority-picker { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} + @media (max-width: 480px) { .priority-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); diff --git a/resources/js/Components/Dropdown.vue b/resources/js/Components/Dropdown.vue index 84f06c7..710cc88 100644 --- a/resources/js/Components/Dropdown.vue +++ b/resources/js/Components/Dropdown.vue @@ -34,10 +34,14 @@ const open = ref(false); - diff --git a/resources/js/Layouts/AuthenticatedLayout.vue b/resources/js/Layouts/AuthenticatedLayout.vue index c43cde5..2f95287 100644 --- a/resources/js/Layouts/AuthenticatedLayout.vue +++ b/resources/js/Layouts/AuthenticatedLayout.vue @@ -29,6 +29,15 @@ const showingNavigationDropdown = ref(false);
+ +