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

[JENKINS-73695] Prevent unnecessary horizontal scrollbar in Firefox #9695

Merged
merged 7 commits into from
Sep 13, 2024

Conversation

scherler
Copy link
Contributor

@scherler scherler commented Sep 5, 2024

See JENKINS-73695.

Testing done

Interactive tests with Firefox

Proposed changelog entries

  • Prevent unnecessary horizontal scrollbar in Firefox.

Proposed upgrade guidelines

N/A

Submitter checklist

Desired reviewers

N/A

Before the changes are marked as ready-for-merge:

Maintainer checklist

@scherler
Copy link
Contributor Author

scherler commented Sep 5, 2024

Follow up for #9667 which produced a horizontal scrollbar in FF

@janfaracik
Copy link
Contributor

You could remove the top margin from .jenkins-icon-size, e.g.

.jenkins-icon-size {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 var(--section-padding) 0;

  ...
}

@scherler
Copy link
Contributor Author

scherler commented Sep 5, 2024

@janfaracik just tried that but it did not work in FF

@daniel-beck daniel-beck added regression-fix Pull request that fixes a regression in one of the previous Jenkins releases bug For changelog: Minor bug. Will be listed after features labels Sep 5, 2024
@janfaracik
Copy link
Contributor

Seems like it's the ::after pseudo element on the table causing the overflow in Firefox, maybe have a media query to only apply that styling for non Firefox browsers?

@MarkEWaite MarkEWaite added the web-ui The PR includes WebUI changes which may need special expertise label Sep 11, 2024
@scherler
Copy link
Contributor Author

@janfaracik added the media query now instead of reducing the width

@MarkEWaite MarkEWaite changed the title [JENKINS-73695] reduce table width to prevent horizontal scrollbar in FF [JENKINS-73695] Prevent unnecessary horizontal scrollbar in Firefox Sep 13, 2024
@MarkEWaite MarkEWaite self-assigned this Sep 13, 2024
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback.

/label ready-for-merge

@comment-ops-bot comment-ops-bot bot added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Sep 13, 2024
@MarkEWaite MarkEWaite merged commit 6a5b5f6 into jenkinsci:master Sep 13, 2024
16 checks passed
@daniel-beck
Copy link
Member

This should have a different Jira issue than the original issue so this can be backported into LTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback regression-fix Pull request that fixes a regression in one of the previous Jenkins releases web-ui The PR includes WebUI changes which may need special expertise
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants