From f205e0090eb071f133294d859878eaef7bcc0578 Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Mon, 19 Feb 2024 09:02:01 +0000
Subject: [PATCH] fullcalendar.scss: added rules for better alignment of
 buttons and their icons, fixes #3631

Closes #3631

Merge request studip/studip!2624
---
 resources/assets/stylesheets/fullcalendar.scss | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/resources/assets/stylesheets/fullcalendar.scss b/resources/assets/stylesheets/fullcalendar.scss
index 6e557bd6e29..01149e58bad 100644
--- a/resources/assets/stylesheets/fullcalendar.scss
+++ b/resources/assets/stylesheets/fullcalendar.scss
@@ -27,6 +27,16 @@ a.fc-event, td.fc-event {
 
             margin-top: 0;
             margin-bottom: 0;
+
+            &:last-of-type {
+                margin-right: 0;
+            }
+
+            .fc-icon {
+                /* Unset rules that are set in the fullcalendar default stylesheet: */
+                line-height: unset;
+                height: unset;
+            }
         }
     }
 }
-- 
GitLab