Skip to content

Model search dropdown text invisible — missing color on .model-search-item #1294

@protolabs42

Description

@protolabs42

Bug

The model search dropdown in the _model_config plugin settings has no explicit color set on .model-search-results or .model-search-item elements. The dropdown background uses var(--color-input) but text color is not set, causing it to inherit unpredictably depending on the modal context.

In certain theme/context combinations, this results in white text on a light background (or dark text on a dark background), making the model search results invisible.

Affected Files

  • plugins/_model_config/webui/config.html
  • plugins/_model_config/webui/main.html

Fix

Add color: var(--color-text); to both .model-search-results and .model-search-item in the <style> sections of both files:

.model-search-results { color: var(--color-text); /* ... existing styles ... */ } .model-search-item { color: var(--color-text); /* ... existing styles ... */ }

Introduced in

Commit da7e3354 (feat: Preset reset on Default, expanded fields & cross-modal nav)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions