記事末の帯までの空きを 56px の1箇所に戻す (#3227) - #3234
Merged
Merged
Conversation
共有ボタンの ul が Bootstrap の既定で持つ下 1rem と、1024px 以下で中身が 空になるサイドバーの padding-bottom 40px が .article-appendix の margin-top に上乗せされ、375px で 112px・1280px で 72px になっていた。前者は .social-area の中で落とし、後者は footer-gap と同じ :has(+ .article-appendix) で落とす。帯を持たないページ(一覧・特設)の空きは変えない。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Fixes #3227
変更内容
themes/future/css-src/theme-styles.styl.social-area .social-button { margin-bottom: 0 }を追加。共有ボタンのulが Bootstrap の既定(dl,ol,ul { margin-bottom: 1rem })で持つ下 16px を、記事ページの共有ボタンの中で落とす.wrap > .container:has(+ .article-appendix) .blog-sidebar { padding-bottom: 0 }を追加。帯が続くときはサイドバーのpadding-bottom40px を落とす(特設ページの個別コンテンツには "We're Hiring" を追加する #3141 で.footer-gapを落としているのと同じ形).blog-sidebar { padding-bottom: 40px }に役のコメントを付けた(metronic 由来で無コメントだった)CLAUDE.mdの 記事末の自動生成ブロックを本文従属のものと切り分ける #2874 の節に、再発の経路と直し方を足した判断した点
.social-areaの中だけで落とす。 一覧カードは.article-card .social-buttonが既に 0 にしている。ul.social-buttonに一律で書くと部品ギャラリーの見本にも及ぶので、記事ページの器に絞った。著者紹介との 16px は.author-boxのmargin-topが持っているので、そちらの空きは変わらない:has(+ .article-appendix)で帯のあるページ(記事・career: trueの特設)に限った実測(
getBoundingClientRect、before は変更前の site.css を差し替えて同じサーバで計測)共有ボタン(著者紹介があればその下端)→ 帯の上端:
/articles/20251031a/(著者紹介なし)/articles/20260612a/(著者紹介あり。著者紹介 → 帯)/specials/styleguide/(帯あり。本文の下端 → フッター)20260612aの共有ボタン → 著者紹介の 16px は前後で同じ。帯を持たないページのフッター前(
mainの下端 → フッター、サイドバーの高さ)は3幅とも前後で同一:/articles/2026//specials/httf//make cssの前後差分は上の2ルールだけ。node css_lint.mjs/node font_size_lint.mjsは通過。確認ポイント
/specials/styleguide//specials/markdown//specials/gallery/)のモバイルで、本文と We're hiring の帯の間が記事と同じ 56px🤖 Generated with Claude Code