Skip to content

Fix/deployment padding issues - #236

Merged
Gree44 merged 3 commits into
stagingfrom
fix/deployment-padding-issues
Jul 25, 2026
Merged

Fix/deployment padding issues#236
Gree44 merged 3 commits into
stagingfrom
fix/deployment-padding-issues

Conversation

@Gree44

@Gree44 Gree44 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Gree44 added 3 commits July 25, 2026 15:33
Cards use a flex-col gap-6 layout where top padding comes from CardHeader
(pt-6) and bottom padding only from CardContent ([&:last-child]:pb-6).
Cards that render header-only — collapsed Credentials / Gruppen &
Mitglieder on the deployment page, loading/error/empty states in Courses,
collapsed Stack/Group managers — thus had top padding but no bottom
padding.

Mirror the last-child bottom-padding rule onto CardHeader so any card
whose header is the last DOM child self-pads. This fixes every collapsed-
card and header-only-card case across the frontend in one place.

Also align DeploymentWizard's two parallel mode-info cards: the per_student
(teal) card used pt-2 while the identical per_course (blue) card used pt-6,
producing an asymmetric box. Both now use pt-6.
The Aktionen card on the deployment page used space-y-2 (8px) between its
stacked full-width buttons (Neu deployen / Löschen etc.), which read as
nearly flush. Bump to space-y-3 to match the sibling Ressourcenzuteilung
card and give the buttons consistent vertical breathing room.
@Gree44
Gree44 merged commit 664e99f into staging Jul 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants