Skip to content

elk: Fix bottom nav by zmc

Screenshot of elk: Fix bottom nav

Details

Authorzmc

LicenseCC BY

Categoryelk.zone

Created

Updated

Size427 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Fixes the nav bar not receiving input events when Firefox is set to auto-hide its toolbar.

Notes

This is filed as Issue 1558 upstream, and I've submitted PR 2475 as well, but they won't take it as they claim it causes flickering. It does not, for me, so I'm publishing this in hopes that it can help others.

Source code

/* ==UserStyle==
@name         elk: Fix bottom nav
@version      20240219.19.46
@namespace    https://userstyles.world/user/zmc
@description  Fixes the nav bar not receiving input events when Firefox is set to auto-hide its toolbar.
@author       zmc
@license      CC BY
==/UserStyle== */

@-moz-document domain("elk.zone"), domain("canary.elk.zone") {
div:has(> nav.after-content-empty) {
    position: fixed;
}
}

Reviews

No reviews yet.