git: 368d0e4331 - main - website: fix sub-menu in the header for mobile devices
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Oct 2026 09:37:47 UTC
The branch main has been updated by wosch:
URL: https://cgit.FreeBSD.org/doc/commit/?id=368d0e4331a0f2281244d7e8a0cf6a600d76cf16
commit 368d0e4331a0f2281244d7e8a0cf6a600d76cf16
Author: Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-10-02 09:32:15 +0000
Commit: Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-10-02 09:32:15 +0000
website: fix sub-menu in the header for mobile devices
If the browser width is less than 1300 pixels: click top left
on "About" and the sub-menu will not open anymore due the missing IDs.
PR: 297509
Approved by: carlavilla, ziaee
Fixes: 10633eb86b6396ec3fe8b666f8e250d67398fbec
Differential Revision: https://reviews.freebsd.org/D60236
---
website/themes/beastie/assets/styles/main.css | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/website/themes/beastie/assets/styles/main.css b/website/themes/beastie/assets/styles/main.css
index e7e55cc434..3e730facf1 100644
--- a/website/themes/beastie/assets/styles/main.css
+++ b/website/themes/beastie/assets/styles/main.css
@@ -746,12 +746,7 @@ input[type='checkbox'] {
padding-right: 0px;
}
- #about:checked~.sub-menu,
- #download:checked~.sub-menu,
- #documentation:checked~.sub-menu,
- #community:checked~.sub-menu,
- #developers:checked~.sub-menu,
- #support:checked~.sub-menu {
+ .menu-item > input[type="checkbox"]:checked ~ .sub-menu {
display: flex;
}