Skip to content

Commit

Permalink
Hide the hover-appearing close button
Browse files Browse the repository at this point in the history
My friends to whom I've recommended Shout are all accidentally leaving
channels. This is because in default theme, the channel close button
will only show up when the mouse pointer is on the channel name, and
beginners don't know that they exist at all. Even after they learn the
existence of such button, it takes more unwanted channel leavings to
finally be trained to avoid it.

This commit disables the hover-appearing close button by default. Users
who want the button can easily bring it back by adding to their theme:

    #sidebar .close { display: block; }

See the pull request [558] for the previous discussion.

[558]: erming#558
  • Loading branch information
kinoru committed Jan 11, 2016
1 parent 2f5b166 commit 05c7b93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ button {
right: 0;
transition: all .2s;
width: 18px;
display: none;
}
#sidebar .close:hover {
background-color: rgba(0, 0, 0, .1);
Expand Down

0 comments on commit 05c7b93

Please sign in to comment.