From 670f4515abdbc0373fcdb879a10af416e16bed5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 11 Nov 2024 14:24:55 +0100 Subject: [PATCH] Remove obsolete HTML class in advanced filters button The `clear` class isn't needed since commit c9f31b8e1, when we moved this button above the regular search fields. We're also moving the `float` property to the CSS file. --- .../stylesheets/admin/budget_investments/search_form.scss | 1 + .../admin/budget_investments/search_form_component.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/admin/budget_investments/search_form.scss b/app/assets/stylesheets/admin/budget_investments/search_form.scss index cdc7a0690..71da631de 100644 --- a/app/assets/stylesheets/admin/budget_investments/search_form.scss +++ b/app/assets/stylesheets/admin/budget_investments/search_form.scss @@ -1,6 +1,7 @@ .admin-budget-investments-search-form { .advanced-filters { @include link; + float: $global-right; margin: $line-height 0; @include breakpoint(medium) { diff --git a/app/components/admin/budget_investments/search_form_component.html.erb b/app/components/admin/budget_investments/search_form_component.html.erb index 2d8ada1a7..1125af58b 100644 --- a/app/components/admin/budget_investments/search_form_component.html.erb +++ b/app/components/admin/budget_investments/search_form_component.html.erb @@ -3,7 +3,7 @@ <%= button_tag t("admin.budget_investments.index.advanced_filters"), type: :button, data: { toggle: "advanced_filters" }, - class: "advanced-filters float-right clear" %> + class: "advanced-filters" %>