Skip to content

Commit

Permalink
Vertical align statusbar
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jun 9, 2024
1 parent 88506d8 commit ff3c38f
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions waterfox/browser/components/statusbar/StatusBar.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,29 @@ export const StatusBar = {
border-radius: 3px !important;
font-weight: bold !important;
}
#status-bar > #status-text {
#wrapper-status-text > #status-text > #statuspanel-label {
display: none;
}
#status-bar #status-text {
display: flex !important;
justify-content: center !important;
align-content: center !important;
flex-direction: column !important;
align-items: center !important;
height: calc(2 * var(--toolbarbutton-inner-padding) + 16px);
}
toolbarpaletteitem #status-text:before {
content: "Status text";
color: red;
border: 1px #aaa solid;
border-radius: 3px;
font-weight: bold;
content: "Status text";
color: red;
border: 1px #aaa solid;
border-radius: 3px;
font-weight: bold;
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
align-items: center;
margin-inline: var(--toolbarbutton-outer-padding);
width: 100%;
height: 100%;
}
/* Ensure text color of status bar widgets set correctly */
toolbar .toolbarbutton-1 {
Expand Down

0 comments on commit ff3c38f

Please sign in to comment.