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

portico: Align ToS checkbox with full name input box. #9478

Closed
wants to merge 1 commit into from

Conversation

shubham-padia
Copy link
Member

Fixes #9328.
Makes the width on checkbox input-group same as full name input box
width and centers it horizontally.

selection_133

@zulipbot
Copy link
Member

Hello @zulip/server-misc members, this pull request was labeled with the "area: portico" label, so you may want to check it out!

@timabbott
Copy link
Sponsor Member

@shubham-padia can you explain a bit more what this is doing? Visually, it looks like you added some vertical margin in addition to centering it horizontally?

Fixes zulip#9328.
Makes the width on checkbox input-group same as full name input box
width and centers it horizontally.
@shubham-padia
Copy link
Member Author

@timabbott I put the left margin as bottom margin in the commit by mistake, I've updated it.
Screenshot:
selection_134

@timabbott
Copy link
Sponsor Member

Merged, thanks @shubham-padia!

I see how that error happened -- you test it in the browser inspector and then copy it over to the CSS file? I think now that we have hot-module reloading that should be easier to do directly in the CSS file (though it'd be a lot easier if we optimized the webpack compile to be a bit faster). But this may also be a helpful lesson in always re-testing things manually and then re-reading the code as though you didn't just write it as part of the process of submitting code for review (at least, that's what I've been doing for years, and I think it does help minimize mistakes).

Anyway, that's mostly a digression on development practices; thanks for cleaning this up!

@timabbott timabbott closed this May 22, 2018
@shubham-padia shubham-padia deleted the portico branch September 8, 2018 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants