From b24bbb670280d0f932d9c3575f2bae9c1854a352 Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Thu, 24 Oct 2024 10:59:14 +0200 Subject: [PATCH] Hide the drupal "Apply" button in `search-full-text` form The "Apply" button in the Drupal form cannot be removed directly in the view, so it is hidden using CSS to prevent it from displaying. --- src/stories/Library/search-full-text/search-full-text.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stories/Library/search-full-text/search-full-text.scss b/src/stories/Library/search-full-text/search-full-text.scss index e7e577d83..196930ca2 100644 --- a/src/stories/Library/search-full-text/search-full-text.scss +++ b/src/stories/Library/search-full-text/search-full-text.scss @@ -26,3 +26,9 @@ display: grid; place-items: center; } + +// Hide the submit button from the Drupal form with CSS +// The button cannot be removed directly in the Drupal view, so we hide it using CSS +.search-full-text input[value="Apply"] { + display: none; +}