Skip to content

Commit

Permalink
[FIX] Server list icons misplaced on Windows (RocketChat#752)
Browse files Browse the repository at this point in the history
Fixes the issue where the 'filter' css style causes Windows to render the server list with artifacts. Converting over to use a transparent overlay instead, which corrects the issue.
  • Loading branch information
ganderzz authored and gdelavald committed Jun 28, 2018
1 parent 151a394 commit 0d09d00
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/stylesheets/start-page.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,25 @@ div.server-list {
background-color: #2F343D;
color: #FFF;
z-index: 100000;
filter: brightness(90%);
-webkit-app-region: drag;
}

div.server-list::after {
content: "";
background-color: rgba(0, 0, 0, 0.1);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
}

div.server-list ul {
padding: 0px;
margin: 0px;
z-index: 2;
position: relative;
-webkit-app-region: no-drag;
}

Expand Down

0 comments on commit 0d09d00

Please sign in to comment.