Skip to content

feat: alignment resolved #26572

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prathoseraaj
Copy link

@prathoseraaj prathoseraaj commented Jul 18, 2025

Fix: Align "What's New?" Section Cards Horizontally

Description

This pull request addresses issue #26531, where the cards in the "What's New?" section of the landing page were not perfectly aligned horizontally. The misalignment was caused by uneven image sizes and content lengths, creating an uneven visual appearance.

Changes Made

  • Updated the YAML structure for the "What's New?" section to ensure consistent headings and content.
  • Ensured all card images and headings are placed consistently within each card.
  • Verified that the layout uses items_across: 4 and the correct classname for even distribution.
  • (If you updated CSS) Adjusted CSS to ensure all cards and their contents are aligned at the top for a polished look.

Before

The original section had uneven alignment, as shown below:

image

After

After these changes, all cards in the "What's New?" section should be evenly aligned, improving readability and visual consistency.

Related Issue

Checklist

  • Cards are horizontally aligned
  • Headings and images are consistent across all cards
  • Tested for responsiveness and cross-browser compatibility
  • No content is missing from any card

Please let me know if any further changes are needed!

Closes #26531

Copy link

google-cla bot commented Jul 18, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot 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 Jul 18, 2025
@iancha1992 iancha1992 added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Jul 18, 2025
@prathoseraaj
Copy link
Author

@gregestren @fweikert can you review this PR !?

items:
- heading: What's new?<br><b>—</b>
- heading: "What's new?<br><b>—</b>"
image_path: /images/new_0.svg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't exist, does it?

description: >
Catch up on the latest documentation, community events, and programs.
- heading: Roadmap
- heading: "Roadmap"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of the " seem unnecessary to fix the issue

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meisterT I will remove and ping you.

@prathoseraaj
Copy link
Author

@meisterT I have updated the requirements as discussed. Please take a look and let me know if any further changes are needed.

@meisterT
Copy link
Member

I don't see how this should fix anything. The only changes that are left are additional "s which should be irrelevant and the items_across attribute which also doesn't help.

@prathoseraaj
Copy link
Author

prathoseraaj commented Jul 22, 2025

@meisterT The components in the row will be organized even if we add the image in the topic, as there is no image in defalut. You can also check by adding a svg in the header which make the UI good.
items_across will make it organize equally.

@meisterT
Copy link
Member

Right, this is what I am saying. The PR currently does not fix the issue as the crucial bit is the missing image and does random other changes. We are currently discussing moving off of devsite, which might make changes like this one easier in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Documentation Documentation improvements that cannot be directly linked to other team labels team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG in landing page.
3 participants