From 023f67e6973b19a784634a8c241df4019dfb3edf Mon Sep 17 00:00:00 2001 From: Alberto Date: Mon, 17 Jun 2024 16:03:02 +0200 Subject: [PATCH 1/5] Add padding to responsive menu --- app/assets/stylesheets/base.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/base.scss b/app/assets/stylesheets/base.scss index deb61fa2680..f922aeb59b9 100644 --- a/app/assets/stylesheets/base.scss +++ b/app/assets/stylesheets/base.scss @@ -581,6 +581,7 @@ body > header, .menu { margin-bottom: 0; + padding-left: $line-height / 2; } } From 7f32c2c8f295d0f0ea575c47ddf8a9bef6061743 Mon Sep 17 00:00:00 2001 From: Alberto Date: Mon, 17 Jun 2024 16:17:54 +0200 Subject: [PATCH 2/5] Fix notifications layout --- app/assets/stylesheets/base.scss | 4 ++++ app/views/notifications/index.html.erb | 4 ++-- app/views/notifications/read.html.erb | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/base.scss b/app/assets/stylesheets/base.scss index f922aeb59b9..02396037cad 100644 --- a/app/assets/stylesheets/base.scss +++ b/app/assets/stylesheets/base.scss @@ -3145,6 +3145,10 @@ a { } } +.read-notifications { + margin-top: rem-calc(-12); +} + // 13. Custom // ------------------------------ diff --git a/app/views/notifications/index.html.erb b/app/views/notifications/index.html.erb index 0d9a6758d69..46929223dce 100644 --- a/app/views/notifications/index.html.erb +++ b/app/views/notifications/index.html.erb @@ -3,14 +3,14 @@
-

+

<%= t("notifications.index.title") %>

<%= link_to t("notifications.index.mark_all_as_read"), mark_all_as_read_notifications_path, method: :put, - class: "button hollow float-right-medium" %> + class: "button hollow float-right-medium read-notifications" %>