Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons: don't force padding #98

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

erdnaxe
Copy link
Contributor

@erdnaxe erdnaxe commented Oct 28, 2024

Don't force padding on all <button> elements as it breaks some Bootstrap layouts.

Buttons are used in Bootstrap nav as an alternative to anchors <a> when destination is not a link.
Before/after the patch:

Buttons are also used as .btn-close for modals and alerts. This patch fixes an alignment issue in modal headers.
Before/after the patch:

@erdnaxe
Copy link
Contributor Author

erdnaxe commented Oct 28, 2024

I can run yarn build, but it also updates JavaScript files. Is this a reproducibility issue on current main branch?

@ColdHeat
Copy link
Member

Hmm on a fresh environment/codespace on main I don't get any additional assets. I will take a look and get back to you.

I agree with this change so I can merge it in once the assets can be built.

@ColdHeat
Copy link
Member

I'm only getting CSS and manifest changes

image

@ColdHeat ColdHeat merged commit 3f9bb7a into CTFd:main Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants