gui/views: Fix event margins in week header

Margins are already applied to the event widget itself through CSS.
This commit removes unnecessary margins and row spacing to bring
it in line with the month view.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/649>
This commit is contained in:
Philipp Sauberzweig
2025-10-17 12:27:03 -04:00
committed by Hari Rana
parent c00379b559
commit fc90d259b2
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -38,9 +38,6 @@ template $GcalWeekHeader: Widget {
Grid grid {
column-homogeneous: true;
hexpand: true;
column-spacing: 6;
row-spacing: 2;
margin-start: 6;
}
}
}
-1
View File
@@ -242,7 +242,6 @@ static inline void
setup_event_widget (GcalWeekHeader *self,
GtkWidget *widget)
{
gtk_widget_set_margin_end (widget, 6);
g_signal_connect_object (widget, "activate", G_CALLBACK (on_event_widget_activated), self, 0);
}