You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scheduleContainer class within scheduleClassNames in AvailabilitySettings component is not being applied to the schedule container element, while other classes like scheduleDay are working correctly. This prevents customization of the schedule container's styles.
Steps to Reproduce
Import AvailabilitySettings from @calcom/atoms
Implement the component with customClassNames prop:
<AvailabilitySettingscustomClassNames={{scheduleClassNames: {scheduleContainer: 'border-2 border-red-500',// Not workingscheduleDay: 'bg-blue-500',// Works correctly},}}enableOverrides={true}disableToasts={true}disableEditableHeading={true}/>
Observe the rendered component in browser
Actual Results
scheduleDay class is successfully applied to day elements
scheduleContainer class is not being applied to the container element
No visual changes are seen when modifying scheduleContainer styles
Expected Results
Both scheduleContainer and scheduleDay classes should be applied to their respective elements
Visual changes should be visible when modifying scheduleContainer styles
Consistent behavior across all customClassNames properties
Technical details
Browser: Firefox
@calcom/atoms version: 1.0.84
The type definitions correctly show scheduleContainer as part of CustomClassNames type:
exporttypeCustomClassNames={scheduleClassNames?: {scheduleContainer?: string;// Defined in types but not workingscheduleDay?: string;// Working correctly// ...other properties};}
Evidence
The text was updated successfully, but these errors were encountered:
Issue Summary
The scheduleContainer class within scheduleClassNames in AvailabilitySettings component is not being applied to the schedule container element, while other classes like scheduleDay are working correctly. This prevents customization of the schedule container's styles.
Steps to Reproduce
Actual Results
scheduleDay
class is successfully applied to day elementsscheduleContainer
class is not being applied to the container elementscheduleContainer
stylesExpected Results
Technical details
Evidence
The text was updated successfully, but these errors were encountered: