From f40ed5b90c958f0b0b6fc19900c41bc5b9ba4915 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Wed, 13 Dec 2023 09:57:23 -0500 Subject: [PATCH] reminders-section: Modernize popover This makes the alarms popover look much closer to the AdwComboRow widget. Part-of: --- src/gui/event-editor/gcal-reminders-section.blp | 9 +++++---- src/theme/style.css | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/gui/event-editor/gcal-reminders-section.blp b/src/gui/event-editor/gcal-reminders-section.blp index cead4f2c..a218dc2e 100644 --- a/src/gui/event-editor/gcal-reminders-section.blp +++ b/src/gui/event-editor/gcal-reminders-section.blp @@ -24,13 +24,14 @@ Popover alarms_popover { styles [ "menu", + "alarms", ] Box { - margin-top: 12; - margin-bottom: 12; - margin-start: 12; - margin-end: 12; + margin-top: 6; + margin-bottom: 6; + margin-start: 6; + margin-end: 6; orientation: vertical; $GtkModelButton event_start_button { diff --git a/src/theme/style.css b/src/theme/style.css index 54d47e57..ac9b9c83 100644 --- a/src/theme/style.css +++ b/src/theme/style.css @@ -46,6 +46,10 @@ calendar-view:selected { font-weight: bold; } +popover.alarms modelbutton { + padding-top: 2px; + padding-bottom: 2px; +} /* Event Popover */ popover.event-popover,