Fix/deployment padding issues - #236
Merged
Merged
Conversation
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.
LostLunaris
approved these changes
Jul 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.