max-content
最大コンテンツ
`max-content` は、通常の改行ポイントで折り返されなかった場合にコンテンツが希望するサイズです。
もう一つの例
コマンドパネルはショートカット列に `max-content` を使用するため、「⌘ Shift P」は一行に収まります。コマンド名は `minmax(0,1fr)` を使用し、ダイアログがビューポートの制限に達した場合のみ短縮されます。長い翻訳でも、ダイアログをその制限以上に広げることはできません。
主な部分
- 01ラップされていないコンテンツ
- 02推奨固有サイズ
- 03外側のサイズ制約
以下の場合に使用します
1行の内容が重要で、外部の制限によりボックスが広がりすぎないようにする場合に使用します。
以下の場合は使用しないでください
長文の読み物、ユーザーが書いたテキスト、または幅の制限がないボックスには使用しないでください。表示領域をはみ出す可能性があります。
コードで使用する名前
width: max-content or a max-content grid track 出荷前に
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome:Complete the task with 最大コンテンツ (max-content)。 User context:コマンドパネルはショートカット列に `max-content` を使用するため、「⌘ Shift P」は一行に収まります。コマンド名は `minmax(0,1fr)` を使用し、ダイアログがビューポートの制限に達した場合のみ短縮されます。長い翻訳でも、ダイアログをその制限以上に広げることはできません。 Design concept to apply:最大コンテンツ (max-content)。 Why it fits:1行の内容が重要で、外部の制限によりボックスが広がりすぎないようにする場合に使用します。 Do not use it when:長文の読み物、ユーザーが書いたテキスト、または幅の制限がないボックスには使用しないでください。表示領域をはみ出す可能性があります。 Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary):きちんとした書類でも、まだドラフトやリリース候補、あるいは最終版かもしれません。ステータスや、ブラウザやプラットフォームの対応状況を確認しましょう。 Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
このリクエストを確認する
Review how 最大コンテンツ (max-content) is used now. Definition: `max-content` は、通常の改行ポイントで折り返されなかった場合にコンテンツが希望するサイズです。 Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.