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: Make preformatted html less blocky #302

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

rahulsom
Copy link
Contributor

A UI refresh to Jenkins made the <pre> look blocky. While that works for most of the other parts of Jenkins, it does not suit what this plugin does.

This change makes it go back to the more traditional look of this plugin.

Before
image

After
image

Testing done

All existing tests pass when running mvn verify

Submitter checklist

Edit tasklist title
Beta Give feedback Tasklist Submitter checklist, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
    Options
  2. Ensure that the pull request title represents the desired changelog entry
    Options
  3. Please describe what you did
    Options
  4. Link to relevant issues in GitHub or Jira
    Options
  5. Link to relevant pull requests, esp. upstream and downstream changes
    Options
  6. Ensure you have provided tests - that demonstrates feature works or fixes the issue
    Options

A UI refresh to Jenkins made the `<pre>` look blocky.
While that works for most of the other parts of Jenkins, it does not suit what this plugin does.

This change makes it go back to the more traditional look of this plugin.
@rahulsom rahulsom requested a review from a team as a code owner July 12, 2023 20:30
@@ -648,3 +648,8 @@ table.no-borders-warning caption {
.jch-entries-per-page .jenkins-button, .jch-pagination .jenkins-button {
min-width: 52px;
}

.jch pre {
background-color: var(--white);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought of using --background but there is a lot more work to be done to make this work with the Dark theme.

@NotMyFault NotMyFault merged commit bd38b12 into jenkinsci:master Jul 14, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants