Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: corporate logo should not have a grey background #16329

Closed
wants to merge 1 commit into from

Conversation

alexeagle
Copy link
Contributor

All the logos became badly rendered in the switch from bazelbuild/bazel-website to devsite. From inspecting the DOM, I can see that the problem is coming from this calculated css style

.devsite-landing-row-item-image:not([background]) {
  background: var(--devsite-background-4);
}

which I think comes from it being classified as a 'button'.

I don't know if there's a way for me to preview this change however. I'm following the same styling as the "Build Concepts" cards on https://bazel.build/start

All the logos became badly rendered in the switch from bazelbuild/bazel-website to devsite.
From inspecting the DOM, I can see that the problem is coming from this calculated css style

.devsite-landing-row-item-image:not([background]) {
  background: var(--devsite-background-4);
}

which I think comes from it being classified as a 'button'.

I don't know if there's a way for me to preview this change however.
@sgowroji sgowroji added team-Documentation Documentation improvements that cannot be directly linked to other team labels awaiting-review PR is awaiting review from an assigned reviewer labels Sep 23, 2022
@gregestren
Copy link
Contributor

Acknowledging this PR but I'd like @fweikert 's input.

@fweikert
Copy link
Member

fweikert commented Oct 4, 2022

Unfortunately this change does not fix the images, it simply removes the border of the button. However, I found a solution and will send a CL.

@fweikert fweikert closed this Oct 4, 2022
@sgowroji sgowroji removed the awaiting-review PR is awaiting review from an assigned reviewer label Oct 4, 2022
copybara-service bot pushed a commit that referenced this pull request Oct 4, 2022
As promised in #16329.

PiperOrigin-RevId: 478795749
Change-Id: I96d4bae812f3bf05b12dea600b9218da1c1f645b
@fweikert
Copy link
Member

fweikert commented Oct 4, 2022

0e1d3ee did the trick. Thanks for reporting this issue!

@alexeagle
Copy link
Contributor Author

Thanks @fweikert !

aiuto pushed a commit to aiuto/bazel that referenced this pull request Oct 12, 2022
As promised in bazelbuild#16329.

PiperOrigin-RevId: 478795749
Change-Id: I96d4bae812f3bf05b12dea600b9218da1c1f645b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants