Fix React CSS property conflict: use border instead of borderColor
- Replaced borderColor with full border property in dateButtonSelected - Replaced borderColor with full border property in slotButtonSelected - Prevents React warning about mixing shorthand and non-shorthand properties - Fixes console error when clicking elements on booking page
This commit is contained in:
parent
46c3c2073a
commit
38b5f2a0a7
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ const pageStyles: Record<string, React.CSSProperties> = {
|
||||||
},
|
},
|
||||||
dateButtonSelected: {
|
dateButtonSelected: {
|
||||||
background: "rgba(167, 139, 250, 0.15)",
|
background: "rgba(167, 139, 250, 0.15)",
|
||||||
borderColor: "#a78bfa",
|
border: "1px solid #a78bfa",
|
||||||
},
|
},
|
||||||
dateWeekday: {
|
dateWeekday: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
|
|
@ -120,7 +120,7 @@ const pageStyles: Record<string, React.CSSProperties> = {
|
||||||
},
|
},
|
||||||
slotButtonSelected: {
|
slotButtonSelected: {
|
||||||
background: "rgba(167, 139, 250, 0.15)",
|
background: "rgba(167, 139, 250, 0.15)",
|
||||||
borderColor: "#a78bfa",
|
border: "1px solid #a78bfa",
|
||||||
},
|
},
|
||||||
emptyState: {
|
emptyState: {
|
||||||
fontFamily: "'DM Sans', system-ui, sans-serif",
|
fontFamily: "'DM Sans', system-ui, sans-serif",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue