Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

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 the 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; }

It is intended as a simpler alternative to adding a prompt message
dialogue, previously discussed in the pull request [558].

[558]: #558
  • Loading branch information
kinoru committed Jan 11, 2016
1 parent 1943b0a commit 9901aa5
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 9901aa5

Please sign in to comment.