Skip to content

Commit

Permalink
Fixed #3259
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Sep 3, 2018
1 parent 4106d47 commit d5c4716
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

### Fixed
- Fixed a bug where the Dev Mode indicator strip wasn’t visible on Chrome/Windows when using a scaled display. ([#3259](https://github.com/craftcms/cms/issues/3259))

## 2.7.2 - 2018-08-24

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/resources/css/cp.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/resources/css/cp.css.map

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/resources/sass/cp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ body { overflow-x: hidden; }

#global-sidebar nav { @include flex-grow(1); -ms-flex-preferred-size: auto; }

#global-sidebar #devmode { width: 100%; height: 4px; background: url(../images/dev-mode.svg) repeat-x 15px 0; cursor: help; }
#global-sidebar #devmode {
width: 100%;
height: 4px;
min-height: 4px; // fixes Windows scaling bug (https://github.com/craftcms/cms/issues/3259)
background: url(../images/dev-mode.svg) repeat-x 15px 0;
cursor: help;
}

#global-sidebar a { color: hsl($hue, 5%, 85%);
@include transition(color linear 100ms);
Expand Down

0 comments on commit d5c4716

Please sign in to comment.