Merge pull request #2090 from overleaf/hb-fix-daterangepicker

Cleanup Metrics Daterange Picker

GitOrigin-RevId: ae5ef24c5b7f007f5bdd38ecebea2d0830611b71
This commit is contained in:
Chrystal Maria Griffiths 2019-08-27 11:31:02 +01:00 committed by sharelatex
parent 1335d21136
commit c1f8ac8de1

View file

@ -462,7 +462,6 @@
&:hover { &:hover {
background-color: @daterangepicker-ranges-hover-bg-color; background-color: @daterangepicker-ranges-hover-bg-color;
border: @daterangepicker-ranges-hover-border-size solid @daterangepicker-ranges-hover-border-color;
color: @daterangepicker-ranges-hover-color; color: @daterangepicker-ranges-hover-color;
} }
@ -602,6 +601,14 @@
} }
@media (min-width: 730px) { @media (min-width: 730px) {
/* force the calendar to display on one row */
&.show-calendar {
min-width: 658px; /* width of all contained elements, IE/Edge fallback */
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.daterangepicker { .daterangepicker {
.ranges { .ranges {
width: auto; width: auto;
@ -609,6 +616,7 @@
&.ltr { &.ltr {
.ranges { .ranges {
float: left; float: left;
clear: none !important
} }
} }
&.rtl { &.rtl {
@ -617,7 +625,7 @@
} }
} }
.calendar.left { .calendar {
clear: none !important; clear: none !important;
} }
} }