項目の中が2段落ある箇条書きのまとまりを空きで示す - #178
Merged
Merged
Conversation
テーマは項目の中の段落の空きと項目と項目の空きがどちらも 12px で、 どこまでが1つの項目か読めない。中を 8px に詰め、項目の間に 16px を置く。 空きは下だけで持つ。上下から挟むと大きいほうだけが効いて 8px が見えない。 項目の間を空けるのは2段落以上の項目がある箇条書きだけにする。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
8px では項目の中の切れ目がまだ広い。刻み1つぶんに詰めて、項目の間 (16px)との差を4倍にする。 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.
#177 の1件目。項目の中が2段落以上ある箇条書きで、まとまりが読めない件です。
何が起きていたか
項目の中の段落の空きと、項目と項目の空きがどちらも 12px で、どこまでが1つの項目か区別が付きませんでした。テーマが
li > pの下に 12px、次の段落の上にも 12px を置いているためです。変更
空きは下だけで持ちます。 上下から挟むと大きいほうだけが効いて、4px が見えません(実際にこれで一度 12px のままになりました)。
項目の間を空けるのは、その箇条書きに2段落以上の項目があるときだけです(
ul:has(li > p + p))。1段落の項目だけが並ぶ箇条書きは行として並ぶものなので、詰めたままにします。🤖 Generated with Claude Code