Breadcrumb colors are confusing

Open
#6,785 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
scss
Domain
frontend

Research direction

The conflict is between wcfsetup/install/files/style/ui/breadcrumb.scss, which sets color: var(--wcfContentDimmedLink); for small screens, and a rule in wcfsetup/install/files/style/layout/pageHeader/system.scss near line 1046 that overrides it on larger screens. Start by comparing the media queries in both files to see where the two rules diverge. Done means breadcrumb colors from the style editor apply on the screen sizes where the issue says they should, which is worth confirming with the maintainers first.

Written by the indexing model from the issue text.

Description

The style editor indicates that the colors are only displayed on small screens.

But it currently uses color: var(--wcfContentDimmedLink);.

https://github.com/WoltLab/WCF/blob/6.3/wcfsetup/install/files/style/ui/breadcrumb.scss#L81

on small screens.

On larger screens, however, the color is overridden by system.scss:

https://github.com/WoltLab/WCF/blob/6.3/wcfsetup/install/files/style/layout/pageHeader/system.scss#L1046

So the colors from the style editor are effectively not being used at all.

Dominant language
PHP
Stars
248
Forks
147
Avg merge
17m
Merged PRs (30d)
21

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WoltLab/WCF

All issues in WoltLab/WCF

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.