Skip to content

Uds 2265 - #1817

Open
spaceperson wants to merge 2 commits into
devfrom
uds-2265
Open

spaceperson wants to merge 2 commits into
devfrom
uds-2265

Conversation

@spaceperson

Copy link
Copy Markdown
Contributor

Description

Checklist

  • Tests pass for relevant code changes

Important Reminders

Links

@spaceperson
spaceperson requested a review from a team as a code owner November 2, 2026 17:25
@asu-jenkins-devops

Copy link
Copy Markdown
Collaborator


[role="doc-subtitle"] {
margin-top: auto;
margin-left: 0.37rem;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Quick question, where does 0.37rem come from? If it's meant to line up the h3 highlight padding with the h1 highlight, please add a short comment, or use a $uds-size-spacing-* token if one fits.

Also, this offset applies even when the subtitle has no highlight (highlightColor: "none"). Can we confirm that case still aligns with the title?

CC @davidornelas11

div.uds-hero-sm {
grid-template-rows: 0px 1fr auto auto;

[role="doc-subtitle"] {

@juanmitriatti juanmitriatti Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Everywhere else in this file, [role="doc-subtitle"] is paired with .hero-subtitle, since the role selector is deprecated. With only the role selector here, markup using .hero-subtitle (HTML/Twig consumers) still has the spacing bug. Suggest (please double check in any case)

[role="doc-subtitle"],
.hero-subtitle {
  margin-top: auto;
  margin-left: 0.37rem;
}

@juanmitriatti

juanmitriatti commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Hi @spaceperson
Good work, please check my feedback.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants