From 42511cb66734ad70cc462df944568b4f6d13f6be Mon Sep 17 00:00:00 2001 From: Nikita Krupin Date: Mon, 2 May 2022 22:26:51 -0400 Subject: [PATCH] popup.html code cleanup & simplification --- public/popup.css | 9 ++--- public/popup.html | 91 ++++++++++++++++++++++++----------------------- src/popup.ts | 8 ++--- 3 files changed, 53 insertions(+), 55 deletions(-) diff --git a/public/popup.css b/public/popup.css index 563f963c..f4d15c9b 100644 --- a/public/popup.css +++ b/public/popup.css @@ -496,7 +496,6 @@ } #usernameElement { - z-index: 2; padding: 8px; } @@ -550,7 +549,7 @@ * Left align "Username" and "Submissions" labels */ -#usernameElement > div > span, +#usernameElement > span, #sponsorTimesContributionsContainer { text-align: start; } @@ -590,13 +589,11 @@ * Improve alignment of username and submissions */ -#usernameElement > div, -#sponsorTimesContributionsContainer > div { +#usernameElement, +#sponsorTimesContributionsContainer { display: flex; flex-direction: column; justify-content: start; - /* flex-flow: column nowrap; */ - /* align-items: flex-start; */ } /* diff --git a/public/popup.html b/public/popup.html index c444a16d..1bc5e1d1 100644 --- a/public/popup.html +++ b/public/popup.html @@ -15,7 +15,6 @@ __MSG_betaServerWarning__ -