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

Registration form fields leave container #51

Closed
benaltair opened this issue Apr 26, 2021 · 2 comments
Closed

Registration form fields leave container #51

benaltair opened this issue Apr 26, 2021 · 2 comments
Assignees
Labels
improvement A nice-to-have which improves the user experience. ux Affects the user experience, non-fatal.

Comments

@benaltair
Copy link
Member

benaltair commented Apr 26, 2021

image

@benaltair benaltair added ux Affects the user experience, non-fatal. improvement A nice-to-have which improves the user experience. labels Apr 26, 2021
@benaltair benaltair self-assigned this Apr 26, 2021
benaltair added a commit that referenced this issue Apr 26, 2021
@benaltair
Copy link
Member Author

benaltair commented Apr 26, 2021

Looks like 57522b1 hard broke the CSS compilation. My guess is that it's either a syntax error on my part (can't see anything at first glance) or the LESS processor didn't like custom properties? Reverted commit for now.
image

@benaltair benaltair reopened this Apr 26, 2021
@benaltair
Copy link
Member Author

Had some issues with LESS processing again, as it was trying to pre-compute CSS calc() functions which defeats the purpose of calc() in the first place. By implementing this fix it is now taking the calculation literally without pre-processing it.

.form-control {
    all: revert;
    padding: 0.5em;
    width: calc(100% - 0.5em * 2);
    border-color: lightgrey;
    border: 1px solid #ced4da;
    border-radius: 0.3em;
    font-size: 1em;
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement A nice-to-have which improves the user experience. ux Affects the user experience, non-fatal.
Projects
None yet
Development

No branches or pull requests

1 participant