environment-dashboard-plugin icon indicating copy to clipboard operation
environment-dashboard-plugin copied to clipboard

CSS style glitch in Jenkins 2.x - side-panel visible

Open jarst opened this issue 8 years ago • 2 comments

When plugin is installed on Jenkins 2.46 and screen width is greater than 970px, Jenkins styles from layout-common.css

@media (min-width: 1170px) {
  body.two-column #side-panel {
    width: 360px;
  }

  body.two-column #main-panel {
    margin-left: 360px;
  }
}

override plugin styles from blink.css.

As a result empty side-panel is visible and main-panel does not fit page width.

envdashboard

Changes in PR #139 prevent these styles from being overridden.

This PR should be compatible with Jenkins 1.X since #page-body is present there as well.

jarst avatar Aug 03 '17 07:08 jarst

+1 I'm on 2.60.3 and seeing the same Issue

nahog avatar Aug 29 '17 17:08 nahog

+1 Still the case in 2.101 and Dashboard Version 1.1.7

ghost avatar Jan 24 '18 14:01 ghost