@redvars/peacock 4.5.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,6 +146,7 @@ var css_248z = i`@charset "UTF-8";
|
|
|
146
146
|
.calendar-timeline {
|
|
147
147
|
--_resource-width: var(--calendar-timeline-resource-width);
|
|
148
148
|
--_lane: var(--calendar-timeline-lane-height);
|
|
149
|
+
--_lane-gap: 0.25rem;
|
|
149
150
|
--_pad: 0.375rem;
|
|
150
151
|
--_border: var(--calendar-timeline-border-color);
|
|
151
152
|
display: flex;
|
|
@@ -336,8 +337,7 @@ var css_248z = i`@charset "UTF-8";
|
|
|
336
337
|
.track {
|
|
337
338
|
position: relative;
|
|
338
339
|
min-width: 0;
|
|
339
|
-
min-height: 3rem;
|
|
340
|
-
height: calc(var(--_lanes, 1) * var(--_lane) + 2 * var(--_pad));
|
|
340
|
+
min-height: max(3rem, var(--_lanes, 1) * var(--_lane) + 2 * var(--_pad));
|
|
341
341
|
border-bottom: 1px solid var(--_border);
|
|
342
342
|
background-image: linear-gradient(to right, var(--_border) 0 1px, transparent 1px);
|
|
343
343
|
background-size: calc(100% / var(--_slots)) 100%;
|
|
@@ -480,12 +480,12 @@ var css_248z = i`@charset "UTF-8";
|
|
|
480
480
|
/* ── Events ── */
|
|
481
481
|
.event {
|
|
482
482
|
position: absolute;
|
|
483
|
-
top: calc(var(--
|
|
483
|
+
top: calc((100% - var(--_lanes, 1) * var(--_lane) + var(--_lane-gap)) / 2 + var(--_lane-index, 0) * var(--_lane));
|
|
484
484
|
display: flex;
|
|
485
485
|
align-items: center;
|
|
486
486
|
gap: 0.375rem;
|
|
487
487
|
min-width: 0.375rem;
|
|
488
|
-
height: calc(var(--_lane) -
|
|
488
|
+
height: calc(var(--_lane) - var(--_lane-gap));
|
|
489
489
|
overflow: hidden;
|
|
490
490
|
padding: 0 0.375rem;
|
|
491
491
|
background: var(--calendar-timeline-event-bg-color);
|