mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 19:42:11 +10:00
Fix Mobile Safari: BookingDates inputs is overflowing
This commit is contained in:
parent
3d77cd25a7
commit
f4fe2b1b02
1 changed files with 6 additions and 3 deletions
|
|
@ -73,17 +73,20 @@
|
|||
* but calendar popup doesn't.
|
||||
*/
|
||||
.mobileMargins {
|
||||
width: calc(100% - 48px);
|
||||
/* Mobile Safari couldn't handle width: calc(100vw - 48px); */
|
||||
width: calc(100vw - 48px);
|
||||
margin: 0 24px;
|
||||
|
||||
/* Gutter between inputs (when calendar is not visible) */
|
||||
& .startDateLabel,
|
||||
& .endDateLabel {
|
||||
flex-basis: calc(50% - 6px);
|
||||
/* Mobile Safari couldn't handle width: calc(50% - 6px); */
|
||||
flex-basis: calc(50vw - 30px);
|
||||
}
|
||||
|
||||
& .input {
|
||||
flex-basis: calc(50% - 6px);
|
||||
/* Mobile Safari couldn't handle width: calc(50% - 6px); */
|
||||
flex-basis: calc(50vw - 30px);
|
||||
transition: all 0.15s ease-out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue