Skip to content

Commit

Permalink
v2.11 fixed width of left sidebar on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnydreams committed Jan 5, 2020
1 parent 9f11e14 commit 63849ef
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions hide-discord-sidebar.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.noticeInfo-3_iTE1, .notice-2FJMB4 {
.noticeInfo-3_iTE1,
.notice-2FJMB4 {
z-index: 1000;
}

Expand All @@ -16,7 +17,7 @@

#hideNshow {
/* background: rgba(32, 34, 37, 0.6); */
background: #4f5660;;
background: #4f5660;
color: white;
padding-top: 5px;
padding-bottom: 5px;
Expand All @@ -28,14 +29,14 @@
width: 90px;
}

.sidebar-2K8pFh {
html .sidebar-2K8pFh {
transition: all 0.1s ease 0.1s;
width: 0!important;
padding-left: 3.5vmin!important;
width: 0;
padding-left: 3.5vmin;
}
.sidebar-2K8pFh:hover {
width: 40vmin!important;
padding-left: 0!important;
html .sidebar-2K8pFh:hover {
width: 240px;
padding-left: 0;
}

.sidebar-2K8pFh > * {
Expand All @@ -45,9 +46,9 @@
/* display: none; */
}

.sidebar-2K8pFh:hover > * {
.sidebar-2K8pFh:hover > * {
visibility: visible;
opacity: 1;
transition: opacity 0.2s linear;
/* display: flex; */
}
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Hide Discord Sidebar",
"short_name": "Hide Dis Bar",
"version": "2.10",
"version": "2.11",
"description": "Installs an unfolding sidebar for Discord channels and a button that hides/shows the Discord server list.",
"manifest_version": 2,
"permissions": ["*://*.discordapp.com/*"],
Expand Down

0 comments on commit 63849ef

Please sign in to comment.