CASH-464: fix broken styling
This commit is contained in:
parent
38a82ecfe1
commit
1a828bd2a8
1 changed files with 3 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="date-picker text-center"
|
class="date-picker text-center"
|
||||||
:class="`${calendarViewDirection} ${isPricingByDayClass} ${showPricingByDayClass}`">
|
:class="`${calendarViewDirection} calendar-2025 ${showPricingByDayClass}`">
|
||||||
<fieldset id="date-picker-fieldset" ref="datePickerFieldset">
|
<fieldset id="date-picker-fieldset" ref="datePickerFieldset">
|
||||||
<legend class="sr-only">Select a day and time</legend>
|
<legend class="sr-only">Select a day and time</legend>
|
||||||
<div
|
<div
|
||||||
|
|
@ -250,9 +250,6 @@ export default {
|
||||||
if (this.selectableDatesSetting === "custom") return "future";
|
if (this.selectableDatesSetting === "custom") return "future";
|
||||||
return "past";
|
return "past";
|
||||||
},
|
},
|
||||||
isPricingByDayClass() {
|
|
||||||
return this.isPricingByDayExperiment ? "pricing-by-day" : "";
|
|
||||||
},
|
|
||||||
showPricingByDayClass() {
|
showPricingByDayClass() {
|
||||||
return this.showPricingByDay ? "show-pricing-by-day" : "";
|
return this.showPricingByDay ? "show-pricing-by-day" : "";
|
||||||
},
|
},
|
||||||
|
|
@ -1159,8 +1156,8 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// pricing by day override styles
|
// new calendar styling overrides
|
||||||
&.pricing-by-day {
|
&.calendar-2025 {
|
||||||
.calendar-grid-container .grid-item {
|
.calendar-grid-container .grid-item {
|
||||||
margin: 0 0 0.15rem 0;
|
margin: 0 0 0.15rem 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue