From aea31199fd2ad48c4458b94371166eb997e5831f Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Tue, 22 Oct 2024 17:37:19 +0100 Subject: [PATCH] fix form to add alerts for when a rep is mentioned --- www/docs/style/sass/parts/_accordion.scss | 10 ++++++++++ .../easyparliament/templates/html/alert/index.php | 13 ++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/www/docs/style/sass/parts/_accordion.scss b/www/docs/style/sass/parts/_accordion.scss index f6d797785e..b8408fd3fa 100644 --- a/www/docs/style/sass/parts/_accordion.scss +++ b/www/docs/style/sass/parts/_accordion.scss @@ -76,6 +76,10 @@ .alert-controller-wrapper { margin-bottom: 2rem; + form { + display: inline; + } + button { margin-bottom: 0; span { @@ -114,6 +118,12 @@ } } +.alert-page-alert-controls { + form { + display: inline; + } +} + .keyword-list { ul { list-style: none; diff --git a/www/includes/easyparliament/templates/html/alert/index.php b/www/includes/easyparliament/templates/html/alert/index.php index 8a92f25cca..f875ee8cd6 100644 --- a/www/includes/easyparliament/templates/html/alert/index.php +++ b/www/includes/easyparliament/templates/html/alert/index.php @@ -438,7 +438,6 @@
  • full_name()) ?>.
    -
    @@ -450,7 +449,7 @@

    ﹒ XXX

    -
    +
    @@ -481,13 +480,11 @@
    -

    Alert when is mentioned

    - - +
    -

    Alert when is mentioned

    - - +