From 1afabb934f4f13959c3996c3e8b362f14be8d99a Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 13 Dec 2020 23:52:38 -0500 Subject: [PATCH] Expand username textbox when editing. --- public/popup.css | 8 +++++++- public/popup.html | 2 +- src/popup.ts | 14 ++++++++++---- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/public/popup.css b/public/popup.css index e3771b56..ef87e892 100644 --- a/public/popup.css +++ b/public/popup.css @@ -7,7 +7,7 @@ } .hidden { - display: none; + display: none !important; } #sponsorblockPopup { @@ -329,6 +329,12 @@ label>p, #disableExtension>p, #usernameValue, #usernameElement > div > p,#sponso border: white 1px solid; color: var(--sb-main-fg-color); width: calc(100% - 24px); + + text-overflow: ellipsis; +} + +#setUsername.SBExpanded { + width: 200%; } /* footer */ diff --git a/public/popup.html b/public/popup.html index f4cd78d2..35479076 100644 --- a/public/popup.html +++ b/public/popup.html @@ -96,7 +96,7 @@ -