diff --git a/plinth/modules/diagnostics/templates/diagnostics_app.html b/plinth/modules/diagnostics/templates/diagnostics_app.html
index 2c4cff90e..3b3d6e872 100644
--- a/plinth/modules/diagnostics/templates/diagnostics_app.html
+++ b/plinth/modules/diagnostics/templates/diagnostics_app.html
@@ -9,33 +9,35 @@
-
{% blocktrans %}App: {{ app_name }}{% endblocktrans %}
+
+
+
{% blocktrans %}App: {{ app_name }}{% endblocktrans %}
- {% if show_repair %}
-
- {% endif %}
-
-
- {% if results %}
- {% include "diagnostics_results.html" with results=results %}
- {% elif exception %}
-
-
-
- {% trans "Caution:" %}
-
-
- {{ exception }}
-
+ {% if show_repair %}
+
+ {% endif %}
- {% else %}
- {% trans "This app does not support diagnostics" %}
- {% endif %}
+
+ {% if results %}
+ {% include "diagnostics_results.html" with results=results %}
+ {% elif exception %}
+
+
+
+ {% trans "Caution:" %}
+
+
+ {{ exception }}
+
+
+ {% else %}
+ {% trans "This app does not support diagnostics" %}
+ {% endif %}
+
{% endblock %}
diff --git a/plinth/modules/diagnostics/templates/diagnostics_full.html b/plinth/modules/diagnostics/templates/diagnostics_full.html
index 27d14cb06..dc53e7447 100644
--- a/plinth/modules/diagnostics/templates/diagnostics_full.html
+++ b/plinth/modules/diagnostics/templates/diagnostics_full.html
@@ -33,38 +33,40 @@
{% if results %}
{% trans "Results" %}
{% for app_id, app_data in results.results.items %}
-
-
- {% blocktrans trimmed with app_name=app_data.name %}
- App: {{app_name}}
- {% endblocktrans %}
-
+
+
+
+ {% blocktrans trimmed with app_name=app_data.name %}
+ App: {{app_name}}
+ {% endblocktrans %}
+
- {% if app_data.show_repair %}
-
- {% endif %}
-
-
- {% if app_data.diagnosis %}
- {% include "diagnostics_results.html" with results=app_data.diagnosis %}
- {% elif app_data.exception %}
-
-
-
- {% trans "Caution:" %}
-
-
- {{ app_data.exception }}
-
+ {% if app_data.show_repair %}
+
+ {% endif %}
- {% else %}
-
- {% endif %}
+
+ {% if app_data.diagnosis %}
+ {% include "diagnostics_results.html" with results=app_data.diagnosis %}
+ {% elif app_data.exception %}
+
+
+
+ {% trans "Caution:" %}
+
+
+ {{ app_data.exception }}
+
+
+ {% else %}
+
+ {% endif %}
+
{% endfor %}
{% endif %}
diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css
index 25a112a78..5c9ea407a 100644
--- a/static/themes/default/css/main.css
+++ b/static/themes/default/css/main.css
@@ -73,6 +73,7 @@
/*
* Bootstrap override
*/
+section:not(:first-child),
h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child),