Skip to content

possible CSS mistake - #pql and #rgbwrap div not hidden by default #5029

In progress

Description

@softhack007

WLED/wled00/data/index.css

Lines 691 to 696 in b60313e

/* wrapper divs hidden by default */
#liveview, #liveview2D, #roverstar, #pql
#rgbwrap, #swrap, #hwrap, #kwrap, #wwrap, #wbal, #qcs-w, #hexw,
.clear-icon, .edit-icon, .ptxt {
display: none;
}

I'm not at expert in CSS, but it could be that a comma is missing at the end of line 692?

Asked the rabbit and he explains it this way:

When there is no comma between #pql and #rgbwrap, the parser treats that gap as a descendant combinator. The selector list effectively contains a compound selector "#pql #rgbwrap" (rgbwrap inside pql) instead of two separate selectors "#pql" and "#rgbwrap". That means #pql itself will NOT be matched/hidden unless #rgbwrap is a descendant of it.

Activity

  1. added theissue type on Nov 1, 2025
  2. added
    needs investigation
    on Nov 1, 2025
  3. DedeHai commented on Nov 2, 2025

    @DedeHai
    Collaborator

    good find, the bug should not have any consequence though: pql is the preset quickload, which is empty at page load and only filled by JS. rgbwrap are the rgb sliders and get enabled/hidden dynamically in JS, they just might show up briefly during page load, so not a big deal.

  4. blazoncek commented on Nov 2, 2025

    @blazoncek
    Contributor

    Not true. It prohibits #rgbwrap of being properly rendered.

  5. DedeHai commented on Nov 2, 2025

    @DedeHai
    Collaborator

    in a special case? seems to render fine?

  6. blazoncek commented on Nov 2, 2025

    @blazoncek
    Contributor

    See rodent's explanation.

  7. changed the title [-]possible CSS mistake - ``#pql`` div not hidden by default[/-] [+]possible CSS mistake - ``#pql`` and `` #rgbwrap`` div not hidden by default[/+] on Nov 2, 2025
  8. github-actions commented on Mar 3, 2026

    @github-actions

    Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
    Thank you for using WLED! ✨

  9. added
    stale
    on Mar 3, 2026
  10. added this to the 17.0 milestone on Mar 9, 2026
  11. modified the milestones: 17.0, 16.1 on Apr 30, 2026
  12. self-assigned this
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs investigationstale

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions