Skip to content

Commit

Permalink
Move hostname label to top
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 26, 2023
1 parent 21566f8 commit b8cfa38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/css/popup-fenix.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ hr {
align-items: stretch;
display: flex;
justify-content: space-between;
margin: var(--popup-gap-extra-thin) 0;
}
#switch {
color: var(--popup-power-ink);
Expand All @@ -73,7 +74,7 @@ hr {
flex-grow: 1;
font-size: 96px;
justify-content: center;
margin: var(--popup-gap-thin) var(--popup-gap-thin) 0;
margin: var(--popup-gap) 0;
padding: 0;
stroke: none;
stroke-width: 64;
Expand Down Expand Up @@ -113,8 +114,12 @@ body.needSave #revertRules {
visibility: visible;
}
#hostname {
margin: var(--popup-gap) var(--popup-gap-extra-thin);
background-color: var(--popup-toolbar-surface);
margin: 0;
padding: var(--popup-gap-thin) 0;
text-align: center;
white-space: normal;

}
#hostname > span {
word-break: break-all;
Expand Down
2 changes: 1 addition & 1 deletion src/popup-fenix.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<div id="panes">
<div id="main">
<div id="sticky">
<div id="hostname"><span></span>&shy;<span></span></div>
<div id="stickyTools">
<div class="rulesetTools">
<span id="saveRules" class="fa-icon" data-i18n-title="popupTipSaveRules">lock</span>
Expand All @@ -40,7 +41,6 @@
<span id="refresh" class="fa-icon">refresh</span>
</div>
</div>
<div id="hostname"><span></span>&shy;<span></span></div>
</div>
<div id="extraTools" class="toolRibbon" data-more="d">
<span id="no-popups" class="hnSwitch tool enabled" role="button" aria-label tabindex="0" title><span class="fa-icon fa-icon-badged">ph-popups<svg class="nope" viewBox="0 0 20 20"><path d="M1,1 19,19M1,19 19,1" /></svg></span><span class="caption" data-i18n="popupNoPopups_v2"></span></span>
Expand Down

0 comments on commit b8cfa38

Please sign in to comment.