Skip to content

Commit 77a27c7

Browse files
authored
Merge 63925d1 into 9a7ede0
2 parents 9a7ede0 + 63925d1 commit 77a27c7

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

src/app/modules/time-entries/components/calendar/calendar.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@
6666

6767
<div>
6868
<div class="row justify-content-between ">
69-
<div class="col-xs-12 col-sm-5 col-md-5 custom-left-buttons-group">
69+
<div class="col-xs-12 col-sm-4 col-md-5 custom-left-buttons-group">
7070
<div class="btn-group" role="group" aria-label="Move date">
7171
<button
7272
mwlCalendarPreviousView
7373
type="button"
7474
[(view)]="calendarView"
7575
[(viewDate)]="currentDate"
76-
class="btn btn-light btn-block m-0"
76+
class="btn btn-navigation btn-light btn-block m-0"
7777
(click)="handleChangeDateEvent()"
7878
>
7979
Previous
@@ -83,7 +83,7 @@
8383
[ngClass]="{ active: isToday }"
8484
type="button"
8585
[(viewDate)]="currentDate"
86-
class="btn btn-light btn-block m-0"
86+
class="btn btn-navigation btn-light btn-block m-0"
8787
(click)="handleChangeDateEvent()"
8888
>
8989
Today
@@ -93,7 +93,7 @@
9393
type="button"
9494
[(view)]="calendarView"
9595
[(viewDate)]="currentDate"
96-
class="btn btn-light btn-block m-0"
96+
class="btn btn-navigation btn-light btn-block m-0"
9797
(click)="handleChangeDateEvent()"
9898
[disabled]="nextDateDisabled"
9999
>
@@ -102,7 +102,7 @@
102102
</div>
103103
</div>
104104
<div class="col-xs-12 col-sm-2 col-md-2 text-center currentDate">
105-
<p class="font-weight-bold h4">
105+
<p class="font-weight-bold h5">
106106
{{ currentDate | date: 'EEEE' }}
107107
</p>
108108
<P class="h5">
@@ -114,23 +114,23 @@
114114
<button
115115
[ngClass]="{ active: isVisibleForCurrentView(calendarView, [CALENDAR_VIEW_ENUM.Month]) }"
116116
type="button"
117-
class="btn btn-light btn-block m-0"
117+
class="btn btn-navigation btn-light btn-block m-0"
118118
(click)="changeCalendarView(CALENDAR_VIEW_ENUM.Month)"
119119
>
120120
Month
121121
</button>
122122
<button
123123
[ngClass]="{ active: isVisibleForCurrentView(calendarView, [CALENDAR_VIEW_ENUM.Week]) }"
124124
type="button"
125-
class="btn btn-light btn-block m-0"
125+
class="btn btn-navigation btn-light btn-block m-0"
126126
(click)="changeCalendarView(CALENDAR_VIEW_ENUM.Week)"
127127
>
128128
Week
129129
</button>
130130
<button
131131
[ngClass]="{ active: isVisibleForCurrentView(calendarView, [CALENDAR_VIEW_ENUM.Day]) }"
132132
type="button"
133-
class="btn btn-light btn-block m-0"
133+
class="btn btn-navigation btn-light btn-block m-0"
134134
(click)="changeCalendarView(CALENDAR_VIEW_ENUM.Day)"
135135
>
136136
Day

src/app/modules/time-entries/components/calendar/calendar.component.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ $activity-text-size: $max-lines-activity * $line-height-base;
133133
p {
134134
margin: 0;
135135
}
136+
padding-right: 0px;
136137
}
137138

138139
@media (max-width: 576px) {
@@ -152,3 +153,18 @@ $activity-text-size: $max-lines-activity * $line-height-base;
152153
text-align: start;
153154
}
154155
}
156+
157+
.btn-navigation{
158+
padding-left: 6px;
159+
padding-right: 6px;
160+
}
161+
162+
@media only screen and (min-width : 576px) and (max-width : 767px) {
163+
.currentDate{
164+
margin-left: 14px;
165+
p {
166+
margin: 0;
167+
}
168+
padding-right: 0px;
169+
}
170+
}

0 commit comments

Comments
 (0)