Bug 1731091 - Hide the dummy event box in <calendar-event-column>s. r=Paenglab a=wsmwk
authorGeoff Lankow <geoff@darktrojan.net>
Fri, 17 Sep 2021 13:11:10 +0300
changeset 43426 4b1f6115ca95ef0e6d5997729988a305029c883b
parent 43425 98cd208c07e198a088bf1b1b7241791f717dc082
child 43427 eafbf6e20976445a0787fd9a8fc50d2bb8db8783
push id33
push userthunderbird@calypsoblue.org
push dateSat, 02 Oct 2021 04:28:07 +0000
treeherdercomm-esr91@1ef0f08a9b7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPaenglab, wsmwk
bugs1731091
Bug 1731091 - Hide the dummy event box in <calendar-event-column>s. r=Paenglab a=wsmwk Differential Revision: https://phabricator.services.mozilla.com/D125934
calendar/base/themes/common/calendar-views.css
--- a/calendar/base/themes/common/calendar-views.css
+++ b/calendar/base/themes/common/calendar-views.css
@@ -495,17 +495,18 @@ calendar-header-container[weekend="true"
 
 .timeIndicator-timeBar[orient="horizontal"] {
   margin-left: -1px;
   height: 8px;
   width: 4px;
   bottom: 0px;
 }
 
-calendar-event-box {
+/* Take care to ensure the dummy event box in a calendar-event-column remains hidden. */
+calendar-event-box:not([hidden]) {
   margin: 1px;
   /* Be the containing block for the child calendar-event-gripbar elements. */
   display: block;
   position: relative;
 }
 
 calendar-month-day-box-item[selected="true"].calendar-color-box,
 calendar-event-box[selected="true"].calendar-color-box,