From 46b114a67e8d99af5778fd86559063b3a0d2177d Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Mon, 8 Apr 2024 14:42:24 +0200 Subject: [PATCH] Override Drupal's default table margins This fixes the issue where the selected hour begins half an hour later than the actual selection. --- .../Library/opening-hours-editor/opening-hours-editor.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stories/Library/opening-hours-editor/opening-hours-editor.scss b/src/stories/Library/opening-hours-editor/opening-hours-editor.scss index 732b7a1d1..09c61ab63 100644 --- a/src/stories/Library/opening-hours-editor/opening-hours-editor.scss +++ b/src/stories/Library/opening-hours-editor/opening-hours-editor.scss @@ -58,3 +58,9 @@ padding: 5px 10px; cursor: pointer; } + +// Override Drupal's default margin for tables inside .fc to eliminate top and bottom spacing +// Fixes the issue where the selected hour starts half an hour later than the actual selection. +.fc table { + margin: 0; +}