-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
P1A high-priority issue. Someone should be assigned and actively working on it.A high-priority issue. Someone should be assigned and actively working on it.a: core_catalogfront-line-handledCan wait until the second-line triage. The front-line triage already checked if it's a P0.Can wait until the second-line triage. The front-line triage already checked if it's a P0.
Description
A2UI intentionally doesn't not let the LLM choose padding. Instead, we the renderer is responsible for this.
Our core catalog items have no built-in padding, so everything looks bad in the simple chat app.
How about these rules:
- Leaf components (e.g. text, image etc) add padding around themselves on every dimension by default. They can be special cased via usage hints to not do this, e.g. a "header" image has no top or side padding, but does have bottom padding.
- Container components which render nothing add no padding (e.g. Row, Column etc)
- Container components which have a border (e.g. Card) add padding around themselves, but not around their children
Metadata
Metadata
Assignees
Labels
P1A high-priority issue. Someone should be assigned and actively working on it.A high-priority issue. Someone should be assigned and actively working on it.a: core_catalogfront-line-handledCan wait until the second-line triage. The front-line triage already checked if it's a P0.Can wait until the second-line triage. The front-line triage already checked if it's a P0.