Commit 0f8e092
committed
Make AI overview block fill width inside flex/grid Group blocks
When hamelp/ai-overview is placed in a WP Group block using flex layout
(e.g. alongside an "AIは間違うことがあります" disclaimer), the block root
collapsed to its intrinsic content width because flex Groups default their
children to size-to-content rather than stretch. Add width:100% (plus
box-sizing:border-box) to the .hamelp-ai-overview root so the form,
input-row and textarea inherit full width; no-op in normal block flow.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RCRKyC4sroy5Xk144DGJdS1 parent aab62be commit 0f8e092
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
0 commit comments