Jenkins 2 ui layout stretches horizontally in job configuration page, text no longer wrapped -


jenkins 2 has ui problem in job configuration page. ui layout stretches horizontally in job configuration page.

if there long lines in text area, whole page stretched width of longest text line. makes job configuration page hard use.

enter image description here

the problem has been reported in

jenkins version 2.26, lts 2.19.3 , above

this has been fixed.

issue report: https://issues.jenkins-ci.org/browse/jenkins-27367

github pr: https://github.com/jenkinsci/jenkins/pull/2575

jenkins version below 2.26, lts 2.19.3

for can not upgrade latest jenkins version, here fix:

  • install simple-theme-plugin.
  • create css file (theme.css) in <jenkins_home>/usercontent/.
  • add following css file.

    td.setting-main .codemirror {   display: table;   table-layout: fixed;   width: 100%; } 
  • point theme css (for example http://<yourjenkins>/usercontent/theme.css) in jenkins system configuration page, section "theme"


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -