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
As can be seen above, I have custom modifiers for my calendar and if it meets the modifier condition, the day is "highlighted" and will need to have a teal background. I also have a class for selected days which gives the day a black background. However, when I try to select a "highlighted" day, it only seems to change the font color and not the background color. Seems that the modifier class always comes last in the HTML, after the default modifier classes have been defined.
Below is the current behavior:
2025-02-19.15-20-30.mp4
Expected behavior is for the "highlighted" day's teal background to be overridden by the "selected day" class.
Any ways I can make it so the modifier class names comes first so that it can be overridden by the default day_selected class name? Any response will be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As can be seen above, I have custom modifiers for my calendar and if it meets the modifier condition, the day is "highlighted" and will need to have a teal background. I also have a class for selected days which gives the day a black background. However, when I try to select a "highlighted" day, it only seems to change the font color and not the background color. Seems that the modifier class always comes last in the HTML, after the default modifier classes have been defined.
Below is the current behavior:
2025-02-19.15-20-30.mp4
Expected behavior is for the "highlighted" day's teal background to be overridden by the "selected day" class.
Any ways I can make it so the modifier class names comes first so that it can be overridden by the default day_selected class name? Any response will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions