docs(docs-infra): add background to playground template dropdown#68218
Merged
kirjs merged 1 commit intoangular:mainfrom Apr 15, 2026
Merged
Conversation
The template dropdown menu had no background color on the container, causing page content to bleed through behind menu items.
Contributor
|
Deployed adev-preview for 2641bc0 to: https://ng-dev-previews-fw--pr-angular-angular-68218-adev-prev-qoiiha1e.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The template dropdown menu had no background color on the container, causing page content to bleed through behind menu items.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
It can be seen in https://angular.dev/playground?templateId=0-hello-world
The playground template dropdown (
ul.adev-template-dropdown) has no background color set on the container. Only the individual buttons inside each list item have a background. This causes page content to bleed through the dropdown, visible between menu items and at the edges.To be honest, I first thought the separator was missing between 'Hello Word' and Signals template

and then I tried to check it in a smaller width (766px) then I saw that there is no actual separator between elements just a background issue. Between 'Control flow' and 'Minigame' template there is some blue can be seen because of the element behind it.

Issue Number: N/A
What is the new behavior?
The dropdown container now has
background: var(--page-background), preventing any content behind it from showing through.Does this PR introduce a breaking change?
Other information