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

Fix several issues with table headers in Safari #14589

Merged
merged 1 commit into from Aug 28, 2018

Conversation

btacordex
Copy link
Contributor

The width += 1 does not apply to Safari, either.

Safari requires min-width and max-width to be set. “width” is not honored.

Add a line break to template so comments stay on separate line.

Moved browser checks to higher scope; the user agent only needs to be checked once, not once per cell.

Before submitting pull request, please check that every commit:

  • Has proper Signed-Off-By
  • Has commit message which describes it
  • Is needed on it's own, if you have just minor fixes to previous commits, you can squash them
  • Any new functionality is covered by tests

The width += 1 does not apply to Safari, either.

Safari requires min-width and max-width to be set. “width” is not honored.

Add a line break to template so comments stay on separate line.

Moved browser checks to higher scope; the user agent only needs to be checked once, not once per cell.

Signed-off-by: Bob Terrell <bob.terrell@acordex.com>
@codecov
Copy link

codecov bot commented Aug 23, 2018

Codecov Report

Merging #14589 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #14589   +/-   ##
=========================================
  Coverage      49.7%    49.7%           
  Complexity    13936    13936           
=========================================
  Files           498      498           
  Lines         66843    66843           
=========================================
  Hits          33221    33221           
  Misses        33622    33622

@ibennetch ibennetch self-assigned this Aug 27, 2018
@ibennetch ibennetch added the ui Issues relating to the user interface label Aug 27, 2018
@ibennetch
Copy link
Member

Thanks for researching this and contributing a fix!

Even though the Safari issue affects the current 4.8 branch, I think I'll merge this only in to master (which will become version 5.0) as it does change the look of the comments.

@ibennetch ibennetch merged commit 32b801c into phpmyadmin:master Aug 28, 2018
@ibennetch
Copy link
Member

Merged, thanks for your contribution!

This will be a part of version 5.0 when it comes out.

@ibennetch ibennetch added this to the 5.0.0 milestone Aug 28, 2018
ibennetch added a commit that referenced this pull request Aug 28, 2018
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Issues relating to the user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants