Skip to content

Conversation

@ThiefMaster
Copy link
Member

@ThiefMaster ThiefMaster commented Apr 3, 2025

closes #6662

@ThiefMaster ThiefMaster added this to the v3.3 milestone Apr 3, 2025
Copy link
Member

@tomasr8 tomasr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The icon alignment/size seems a bit off in the cloning dialog:
image

Compare with the material package form:
image

}
}

.ui-widget ind-date-picker > button {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@foxbunny Do you see a better solution for this? Making the rule inside %text-size-reset important would also work, but not sure if this doesn't have some bad side effects elsewhere...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%text-size-reset is probably not the best workaround for the font size issue. It's more like a marker so I know what to address once we actually solve the problem (god knows when, lol). In theory, it shouldn't have any bad side-effects, but it can fail to work when, say, there are rules with high-specificity selectors that affect elements inside the widget and override font sizes.

@ThiefMaster ThiefMaster changed the title Use new DatePicker in WTForms IndicoDateField Use new DatePicker in WTForms date/time fields Apr 7, 2025
@github-actions github-actions bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript deps labels Apr 7, 2025
@ThiefMaster ThiefMaster merged commit 4ef6c89 into indico:master Apr 7, 2025
10 checks passed
@ThiefMaster ThiefMaster deleted the wtf-date-picker branch April 7, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript deps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure the new DatePicker can be used in WTFDateField etc.

3 participants