ui: diagnostics: Fix layout of repair buttons

- A 'row' class is more suitable when we want to use the Bootstrap's 'Grid'
system. Bootstrap 5 sets 'width: 100%' on all children of a .row. So, use a
simpler 'display: flex' instead.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-11-16 10:40:50 -08:00 committed by Veiko Aasa
parent 380c889771
commit a2d5238dbc
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<h2>{% trans "Diagnostic Results" %}</h2>
<div class="row align-items-center justify-content-between">
<div class="d-flex align-items-center justify-content-between">
<h3>{% blocktrans %}App: {{ app_name }}{% endblocktrans %}</h3>
{% if show_repair %}

View File

@ -33,7 +33,7 @@
{% if results %}
<h3>{% trans "Results" %}</h3>
{% for app_id, app_data in results.results.items %}
<div class="row align-items-center justify-content-between">
<div class="d-flex align-items-center justify-content-between">
<h4>
{% blocktrans trimmed with app_name=app_data.name %}
App: {{app_name}}