From 1816716d07a302d01bed3f0b9633ec0a14bbe193 Mon Sep 17 00:00:00 2001 From: Guido De Gobbis <10517822+degobbis@users.noreply.github.com> Date: Tue, 20 Mar 2018 00:06:44 +0100 Subject: [PATCH 1/3] Revert changes expect css --- media/system/css/fields/calendar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/system/css/fields/calendar.css b/media/system/css/fields/calendar.css index 64cfaf9631d91..67d51219d2fd4 100644 --- a/media/system/css/fields/calendar.css +++ b/media/system/css/fields/calendar.css @@ -91,7 +91,7 @@ div.calendar-container table td.title { /* This holds the current "month, year" .calendar-container table tbody td.today { position: relative; height: 100%; - width: 100%; + width: auto; font-weight: bold; } .calendar-container table tbody td.today:after { From ebcfb7546764eb591bd0a3ff8eb4bd8b2741f71f Mon Sep 17 00:00:00 2001 From: Guido De Gobbis <10517822+degobbis@users.noreply.github.com> Date: Tue, 20 Mar 2018 00:38:41 +0100 Subject: [PATCH 2/3] Make calendar output usable in other css-frameworks --- media/system/css/fields/calendar-rtl.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/system/css/fields/calendar-rtl.css b/media/system/css/fields/calendar-rtl.css index 7a17cb51e20c6..bf29645a3ede6 100644 --- a/media/system/css/fields/calendar-rtl.css +++ b/media/system/css/fields/calendar-rtl.css @@ -91,7 +91,7 @@ div.calendar-container table td.title { /* This holds the current "month, year" .calendar-container table tbody td.today { position: relative; height: 100%; - width: 100%; + width: auto; font-weight: bold; } .calendar-container table tbody td.today:after { From 7df2ac0492857d0b7423871cb99eaccdd32b57cd Mon Sep 17 00:00:00 2001 From: Guido De Gobbis <10517822+degobbis@users.noreply.github.com> Date: Tue, 20 Mar 2018 09:43:20 +0100 Subject: [PATCH 3/3] A min-width makes look better --- media/system/css/fields/calendar-rtl.css | 1 + media/system/css/fields/calendar.css | 1 + 2 files changed, 2 insertions(+) diff --git a/media/system/css/fields/calendar-rtl.css b/media/system/css/fields/calendar-rtl.css index bf29645a3ede6..5cea9f21b4b7d 100644 --- a/media/system/css/fields/calendar-rtl.css +++ b/media/system/css/fields/calendar-rtl.css @@ -75,6 +75,7 @@ div.calendar-container table td.title { /* This holds the current "month, year" border: 0; cursor : pointer; font-size: 12px; + min-width: 38px; } .calendar-container table tbody td.day.wn { diff --git a/media/system/css/fields/calendar.css b/media/system/css/fields/calendar.css index 67d51219d2fd4..474a5ab376ae6 100644 --- a/media/system/css/fields/calendar.css +++ b/media/system/css/fields/calendar.css @@ -75,6 +75,7 @@ div.calendar-container table td.title { /* This holds the current "month, year" border: 0; cursor : pointer; font-size: 12px; + min-width: 38px; } .calendar-container table tbody td.day.wn {