Skip to content

Reorganize SCSS, fix scroll padding, normalize blocks-shortcode heading IDs and keep old IDs as alias#2505

Merged
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-0.14.0-blog-post-updates-2026-0201
Feb 2, 2026
Merged

Reorganize SCSS, fix scroll padding, normalize blocks-shortcode heading IDs and keep old IDs as alias#2505
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-0.14.0-blog-post-updates-2026-0201

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Feb 2, 2026

  • Fixes Consider using scroll-padding-top #744!
  • Normalizes blocks shortcode heading IDs to blocks-abc, and keeps the old IDs as aliases
  • Adds a new _scroll.scss for scroll-padding-top and drops the old and dates anchor-offset rules
  • Prefixes some private SCSS files with _ since they are actually partials
  • Blog posts copyedits
  • Adds a project style guide and a User guide note in AGENTS.md

Preview, deep-link scroll and heading ID alias tests:

@chalin chalin force-pushed the chalin-m24-0.14.0-blog-post-updates-2026-0201 branch from 2eff617 to 1d2250e Compare February 2, 2026 14:25
@chalin chalin changed the title Reorganize SCSS, fix scroll padding, add back old heading IDs as aliases Reorganize SCSS, fix scroll padding, normalize blocks-shortcode heading IDs and keep old IDs as alias Feb 2, 2026
@chalin chalin force-pushed the chalin-m24-0.14.0-blog-post-updates-2026-0201 branch 5 times, most recently from d0efaf0 to f4baa9b Compare February 2, 2026 15:03
Move internal td SCSS into private files, add a new _scroll.scss for scroll-padding-top and import it from _main.scss, and remove the old anchor-offset rules. Rename several td SCSS files to underscored partials. Apply multiple documentation edits: normalize shortcode anchor IDs (e.g. blocks-cover, blocks-feature), update blog dates and Hugo/hyperlink references, tweak copy/grammar, add cspell ignores, and add a project style guide and a User guide note in AGENTS.md. These changes tidy styling internals and standardize docs/anchors for consistency.
@chalin chalin force-pushed the chalin-m24-0.14.0-blog-post-updates-2026-0201 branch from f4baa9b to a9d2d30 Compare February 2, 2026 15:05
@chalin chalin merged commit 3753ff7 into google:main Feb 2, 2026
12 checks passed
@chalin chalin deleted the chalin-m24-0.14.0-blog-post-updates-2026-0201 branch February 2, 2026 15:11
@chalin chalin added this to the 0.14.0 milestone Feb 2, 2026
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.

Consider using scroll-padding-top

1 participant