From 63849ef3c8233fd9c3b62628947054d0440c8e90 Mon Sep 17 00:00:00 2001 From: bunnydreams Date: Sat, 4 Jan 2020 20:40:39 -0500 Subject: [PATCH] v2.11 fixed width of left sidebar on hover --- hide-discord-sidebar.css | 21 +++++++++++---------- manifest.json | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/hide-discord-sidebar.css b/hide-discord-sidebar.css index 2f54616..6ab2435 100644 --- a/hide-discord-sidebar.css +++ b/hide-discord-sidebar.css @@ -1,4 +1,5 @@ -.noticeInfo-3_iTE1, .notice-2FJMB4 { +.noticeInfo-3_iTE1, +.notice-2FJMB4 { z-index: 1000; } @@ -16,7 +17,7 @@ #hideNshow { /* background: rgba(32, 34, 37, 0.6); */ - background: #4f5660;; + background: #4f5660; color: white; padding-top: 5px; padding-bottom: 5px; @@ -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 > * { @@ -45,9 +46,9 @@ /* display: none; */ } -.sidebar-2K8pFh:hover > * { +.sidebar-2K8pFh:hover > * { visibility: visible; opacity: 1; transition: opacity 0.2s linear; /* display: flex; */ -} \ No newline at end of file +} diff --git a/manifest.json b/manifest.json index ea385a2..7969ee1 100644 --- a/manifest.json +++ b/manifest.json @@ -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/*"],