Skip to content

Card Header child alignment fixed - #2719

Open
Jakobus400 wants to merge 1 commit into
e-valuation:mainfrom
Jakobus400:card-header
Open

Card Header child alignment fixed#2719
Jakobus400 wants to merge 1 commit into
e-valuation:mainfrom
Jakobus400:card-header

Conversation

@Jakobus400

Copy link
Copy Markdown
Collaborator

fixes #2670

@richardebeling
richardebeling requested a review from janno42 May 4, 2026 20:27
Comment thread evap/staff/templates/staff_semester_view.html Outdated

@janno42 janno42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, the right-aligned content would stay right-aligned (in a new line when it doesn't fit in one line with the other content), and the padding between the elements would stay as it is now.

Comment thread evap/staff/templates/staff_semester_view.html Outdated
@github-actions github-actions Bot added the Stale label Jul 7, 2026
@niklasmohrin

Copy link
Copy Markdown
Member

@Jakobus400 do you want to continue working on this, or should we take over / give this issue to someone else?

@richardebeling richardebeling self-assigned this Aug 10, 2026
<div class="card-header d-flex">
<span class="ps-1 me-auto">
<div class="card-header">
<span class="ps-1">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to remove ps-1 here as well

Comment on lines +4 to +5
// prepare for two elements, left- and right aligned, with flex wrap
// should have no effect with just a single child. We don't expect more than two children

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update comment: first element grows -> allow n elements, first one is left, everything else is right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Card Headers: Responsive Design for Left and Right Texts

4 participants