Skip to content

Commit

Permalink
brand.jquery.org: Fix visible navigation button on wide viewport
Browse files Browse the repository at this point in the history
Follows-up 09c7a70, which added a button outside the content area,
with the `hidden` attribute to hide it by default.

These styles were stronger, causing it be visible unconditionally
on this particular domain.

Scope the styles to the content area to mitigate this.
  • Loading branch information
Krinkle committed Feb 21, 2024
1 parent d68053a commit 3e2cde6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion themes/brand.jquery.org/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ a {
}

/* Buttons */
a.button, #content a.button, .button, input[type="submit"] {
#content .button,
#content a.button {
float: none;
display: inline-block;
}
Expand Down

0 comments on commit 3e2cde6

Please sign in to comment.