Skip to content

Commit

Permalink
Merge pull request #900 from compilenix/patch-1
Browse files Browse the repository at this point in the history
Re-order the popup menu items to improve UI / UX
  • Loading branch information
ManeraKai authored Mar 11, 2024
2 parents 2a239a2 + e75eab9 commit 8b415d9
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/pages/popup/popup.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ html(lang="en")
link(href="../stylesheets/styles.css" rel="stylesheet")
link(href="./style.css" rel="stylesheet")
body(dir="auto")
div(id="current_site")
include /src/pages/popup/switches
div(id="current_site_divider" style="display: none")
hr

div(id="all_sites")
include /src/pages/popup/switches

hr

div(class="block" id="change_instance_div" style="display: none")
button(class="title button bottom-button" id="change_instance")
label(data-localise="__MSG_switchInstance__") Switch Instance
Expand All @@ -40,6 +30,18 @@ html(lang="en")
svg(xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" preserveAspectRatio="xMinYMin meet" fill="currentColor")
path(d="M 17,20 V 11 Q 17,10.175 16.412,9.587 15.825,9 15,9 H 6.8 L 8.4,7.4 7,6 3,10 7,14 8.4,12.6 6.8,11 H 15 v 9 z" id="path2")

hr

div(id="current_site")
include /src/pages/popup/switches
div(id="current_site_divider" style="display: none")
hr

div(id="all_sites")
include /src/pages/popup/switches

hr

div(class="block")
a(class="title button bottom-button" id="more-options")
label(data-localise="__MSG_settings__") Settings
Expand All @@ -48,4 +50,4 @@ html(lang="en")

div(class="space")
script(type="module" src="../options/init.js")
script(type="module" src="./popup.js")
script(type="module" src="./popup.js")

0 comments on commit 8b415d9

Please sign in to comment.