diff --git a/src/views/campaign/views/calendar/CalendarView.scss b/src/views/campaign/views/calendar/CalendarView.scss index 4c3f5dc0..f621d2af 100644 --- a/src/views/campaign/views/calendar/CalendarView.scss +++ b/src/views/campaign/views/calendar/CalendarView.scss @@ -1,5 +1,5 @@ .nitro-campaign-calendar { - width: 1010px; + width: 1055px; height: 400px; .calendar-item { @@ -52,29 +52,17 @@ } } - .button-container { - position: relative; - width: 100%; - height: 0px; + .calendar-prev { + background: url("../../../../assets/images/campaign/prev.png"); + width: 33px; + min-width: 33px; + height: 34px; + } - .calendar-prev { - background: url("../../../../assets/images/campaign/prev.png"); - width: 33px; - height: 34px; - position: absolute; - margin-top: 15%; - left: 5px; - z-index: 10; - } - - .calendar-next { - background: url("../../../../assets/images/campaign/next.png"); - width: 33px; - height: 34px; - position: absolute; - margin-top: 15%; - right: 5px; - z-index: 10; - } + .calendar-next { + background: url("../../../../assets/images/campaign/next.png"); + width: 33px; + min-width: 33px; + height: 34px; } } diff --git a/src/views/campaign/views/calendar/CalendarView.tsx b/src/views/campaign/views/calendar/CalendarView.tsx index 4eeb3aab..b6566791 100644 --- a/src/views/campaign/views/calendar/CalendarView.tsx +++ b/src/views/campaign/views/calendar/CalendarView.tsx @@ -104,7 +104,7 @@ export const CalendarView: FC = props => -
+

{LocalizeText('campaign.calendar.heading.day', ['number'], [(selectedDay + 1).toString()])}

{dayMessage(selectedDay)}

@@ -114,10 +114,11 @@ export const CalendarView: FC = props => }
-
-
+ +
- + +
{ [...Array(getNumItemsDisplayed())].map((e, i) => { @@ -125,6 +126,7 @@ export const CalendarView: FC = props => return }) } +