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

Restore padding and height of message input pre-textarea era #539

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

astorije
Copy link
Member

@astorije astorije commented Aug 2, 2016

Margins around the nick, and overall height of the input, perfectly set prior to the textarea introduction. Turns out, there was also a 1px-offset in there, and I could see something was off without being able to pinpoint what exactly.

Not sure how long the current style of textarea will stay around, but this PR at least puts things back in order until then.

I have played a looot with this, adding and removing stuff, when in the end the changes are just because now the border is set on a different element, and we all know how CSS is a bit bitchy about how overall heights and margins are set depending on the border.

Results

On pre.4 (without textarea) Before PR After PR
screen shot 2016-08-02 at 00 29 43 screen shot 2016-08-02 at 00 30 09 screen shot 2016-08-02 at 00 30 25

@astorije astorije added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. second review needed labels Aug 2, 2016
@astorije astorije added this to the 2.0.0 milestone Aug 2, 2016
@maxpoulin64 maxpoulin64 merged commit 376fdee into master Aug 2, 2016
@astorije astorije deleted the astorije/restore-input-margin branch August 2, 2016 05:00
@maxpoulin64
Copy link
Member

Yeah I knew it felt a bit off but I couldn't really figure out what was wrong exactly. The total height was the same and it aligned fine in morning/zenburn so I didn't know what it was. Nice find!

@astorije
Copy link
Member Author

astorije commented Aug 2, 2016 via email

@astorije
Copy link
Member Author

astorije commented Aug 7, 2016

Forgot to post back here: I tested with themes and everything looks fine. It may be that the nick appears a pixel down in some of the themes, but apart from that (not even certain), we're good.

matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…t-margin

Restore padding and height of message input pre-textarea era
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants