From 8a72fe26f8a5b4f99150a8a7ef1be52b17738ac5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 2 Apr 2024 14:02:31 +0200 Subject: [PATCH] fix(views): refactor filter button slot in wrapper Before this change, the filter button on the top right was positioned using absolute positioning and plenty of tricks, which were brittle and not really maintainable. Now, the buttons are positioned using flexbox, which should make this a lot more maintainable. --- frontend/src/components/input/button.vue | 73 +-- .../src/components/project/ProjectWrapper.vue | 10 +- .../components/project/views/ProjectGantt.vue | 6 +- .../components/project/views/ProjectTable.vue | 455 +++++++++--------- frontend/src/styles/components/_index.scss | 1 - frontend/src/styles/components/project.scss | 77 --- 6 files changed, 275 insertions(+), 347 deletions(-) delete mode 100644 frontend/src/styles/components/project.scss diff --git a/frontend/src/components/input/button.vue b/frontend/src/components/input/button.vue index d0c573d69..bc9990dcf 100644 --- a/frontend/src/components/input/button.vue +++ b/frontend/src/components/input/button.vue @@ -13,7 +13,7 @@ }" > - +