Skip to content

Commit

Permalink
Fix sidebar toggle style with fixed layout enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mrliptontea committed Mar 22, 2019
1 parent a916025 commit c4f2ccf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ If you need to customize styles for [Redmine Backlogs][redmine_backlogs] remembe

## Changelog

Latest:

* Fixed sidebar toggler style when fixed layout is enabled

v2.1.0 (2019-03-22):

* Added CSS grid layout support (off by default because of IE support)
Expand Down
18 changes: 12 additions & 6 deletions src/sass/javascripts/_sidebar-toggler.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,22 @@

@if $sidebar-position == "left" {
left: 0;
border-left: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
background-image: inline-svg("chevron-left.svg", (path: (fill: $gray-700)));

@if not $fixed-layout {
border-left: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
} @else {
right: 0;
border-right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
background-image: inline-svg("chevron-right.svg", (path: (fill: $gray-700)));

@if not $fixed-layout {
border-right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}

&.sidebar-hidden {
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/application.css

Large diffs are not rendered by default.

0 comments on commit c4f2ccf

Please sign in to comment.