# Margin/padding doesn't work as expected for Downtime Event in Equipment Scheduler

**URL:** <https://forum.inductiveautomation.com/t/margin-padding-doesnt-work-as-expected-for-downtime-event-in-equipment-scheduler/64805>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 4, 2022, 3:58pm UTC](https://forum.inductiveautomation.com/t/margin-padding-doesnt-work-as-expected-for-downtime-event-in-equipment-scheduler/64805 "2022-10-04T15:58:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Rector](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Andrea\_Rector](https://forum.inductiveautomation.com/u/Andrea_Rector)\
**Post date:** [October 4, 2022, 3:58pm UTC](https://forum.inductiveautomation.com/t/margin-padding-doesnt-work-as-expected-for-downtime-event-in-equipment-scheduler/64805/1 "2022-10-04T15:58:04Z")

</div>

I'm using the Equipment Scheduler component and want the scheduled events to appear in the top half of the row and the downtime events to appear in the bottom half. I don't want them to overlap.

I can adjust the margin for the scheduled events to get them to appear how I want, but it doesn't work for downtime events. If I set marginTop to 20, it shifts the whole event down into the next row. Adjusting marginBottom doesn't help.

Any recommendations on how to get it to look how I want?

Undesirable look where downtime event gets pushed into next row:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/cea16c0db9067cce2cfafa6ec3e58837a034c250.png)

Example of desired look, in Excel:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8ed051e1a0f4b3071797ead8bf9d14e4a8e2a319.png)

---

<div class="post-metadata">

**Author:** ![ayu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ayu/32/16635_2.png) [@ayu](https://forum.inductiveautomation.com/u/ayu)\
**Post date:** [October 4, 2022, 4:43pm UTC](https://forum.inductiveautomation.com/t/margin-padding-doesnt-work-as-expected-for-downtime-event-in-equipment-scheduler/64805/2 "2022-10-04T16:43:31Z")

</div>

Hi @Andrea_Rector,

There's currently a ticket that's opened to get this issue resolved. There isn't particularly a good solution outside of using something like a semi-transparent border on the downtime event. I'll keep you posted when the issue is fixed. Thanks.

---

<div class="post-metadata">

**Author:** ![Andrea\_Rector](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Andrea\_Rector](https://forum.inductiveautomation.com/u/Andrea_Rector)\
**Post date:** [October 4, 2022, 6:53pm UTC](https://forum.inductiveautomation.com/t/margin-padding-doesnt-work-as-expected-for-downtime-event-in-equipment-scheduler/64805/3 "2022-10-04T18:53:26Z")

</div>

Does the solution also address padding on the downtime event label? Adding padding stretches the downtime event into the next row as well.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d97a6373504d2f90d26e90efc783c53fde17d270.png)
