Skip to content

Card Header child alignment fixed#2719

Open
Jakobus400 wants to merge 2 commits into
e-valuation:mainfrom
Jakobus400:card-header
Open

Card Header child alignment fixed#2719
Jakobus400 wants to merge 2 commits 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
<a id="collapseOverviewCardButton" class="collapse-toggle collapsed" data-bs-toggle="collapse" href="#overviewCard" aria-expanded="false" aria-controls="overviewCard">{% translate 'Overview' %}</a>
{% if request.user.is_manager %}
<div class="ms-auto">
<div class="">

@richardebeling richardebeling May 4, 2026

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.

If we have no classes left, let's just remove the full class="" as well -- does the <div> have some purpose anymore now, or could we also remove it completely?

@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.

@@ -162,14 +162,14 @@ <h3 class="m-0 me-1">{{ semester.name }}</h3>
<div class="card-header d-flex">

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.

The card below this one also needs fixing.

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.

And there is another card on the student index page (for archived semesters).

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

3 participants