From 05a0547df3822f0bda46f118a459221aaa4000e5 Mon Sep 17 00:00:00 2001 From: "BOYA,CHIU" Date: Fri, 27 Aug 2021 11:44:15 +0800 Subject: [PATCH] fix style error --- app/assets/stylesheets/calendar_widget1.css | 6 +++++- app/assets/stylesheets/calendar_widget2.css | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/calendar_widget1.css b/app/assets/stylesheets/calendar_widget1.css index 368b04f..1f72055 100644 --- a/app/assets/stylesheets/calendar_widget1.css +++ b/app/assets/stylesheets/calendar_widget1.css @@ -1,3 +1,7 @@ +.w-calendar-table { + table-layout: fixed; + width: 100%; +} a.event-container{ color: inherit; } @@ -97,7 +101,7 @@ a.event-container{ cursor: pointer; } .widget-calendar-1 .w-calendar-table td div { - width: 3em; + width: auto; height: 3em; display: inline-flex; align-items: center; diff --git a/app/assets/stylesheets/calendar_widget2.css b/app/assets/stylesheets/calendar_widget2.css index b06613a..e8a14f1 100644 --- a/app/assets/stylesheets/calendar_widget2.css +++ b/app/assets/stylesheets/calendar_widget2.css @@ -1,3 +1,7 @@ +.w-calendar-table { + table-layout: fixed; + width: 100%; +} a.event-container-one{ color: inherit; } @@ -57,7 +61,7 @@ a.event-container-one{ justify-content: center; align-items: center; margin: auto; - width: 3em; + width: auto; height: 3em; } .widget-calendar-2 .w-calendar-table th {