[IMP] web: mobile calendar today button alignment

The "today" button should be aligned (both size and position) with the
view switcher icon.

Task ID: 1891955
This commit is contained in:
Romain Estievenart
2019-02-08 15:41:51 +00:00
committed by Pierre Paridans
parent 4dfd14ed00
commit 41b8a6a563
2 changed files with 8 additions and 5 deletions
@@ -5,7 +5,8 @@
.o_control_panel {
.o_calendar_button_today {
float: right;
font-size: 0.7em;
line-height: 1.9em;
> .o_calendar_text {
margin-top: 3px;
}
+6 -4
View File
@@ -85,10 +85,12 @@
</t>
<t t-name="CalendarView.TodayButtonMobile">
<span class="fa-stack o_calendar_button_today">
<i class="fa fa-calendar-o fa-stack-2x" role="img" aria-label="Today" title="Today"></i>
<strong class="o_calendar_text fa-stack-1x"><t t-esc="moment().date()"/></strong>
</span>
<button class="btn btn-sm btn-link">
<span class="fa-stack o_calendar_button_today">
<i class="fa fa-calendar-o fa-stack-2x" role="img" aria-label="Today" title="Today"/>
<strong class="o_calendar_text fa-stack-1x"><t t-esc="moment().date()"/></strong>
</span>
</button>
</t>
<main t-name="CalendarView.quick_create" class="o_calendar_quick_create">