Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/v2/__tests__/v2-layout-invariants.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ describe('v2 layout invariants (CSS rule presence)', () => {
const appsManagement = read('../../components/AppsManagement.tsx');
const podModel = read('../../../../backend/models/Pod.ts');

test('BYO hints do not add paragraph margins to flex gaps', () => {
expect(ruleBody(v2, '.v2-byo__hint')).toContain('margin: 0');
});

test('Your Team card name owns its line so the category chip cannot crush it', () => {
// Direction C: the name sits in its own column of the card head; the
// crush guard is min-width 0 on the name and the head, not a flex basis.
Expand Down
1 change: 1 addition & 0 deletions frontend/src/v2/v2.css
Original file line number Diff line number Diff line change
Expand Up @@ -5694,6 +5694,7 @@ body.modern-ui.v2-canvas {
.v2-byo__hint {
font-size: 12px;
color: var(--v2-text-tertiary);
margin: 0;
}
.v2-byo__error {
padding: 10px 12px;
Expand Down