Release 2.0.21 (#4030)

* increase padding in wizard
* fix theme chooser in wizard
* improve dynamic export columns in PDFs
* added label for total column
* bump theme bundle
* improve avatar list spacing
* be more flexible parsing times - fixes #4031
This commit is contained in:
Kevin Papst
2023-05-17 15:02:10 +02:00
committed by GitHub
parent 29624354a2
commit 9bd5965ecd
16 changed files with 148 additions and 113 deletions

View File

@@ -1,7 +1,7 @@
{% extends 'wizard/layout.html.twig' %}
{% block wizard_content %}
<div class="card-body text-center py-4 p-sm-5">
<div class="card-body text-center py-4 p-sm-6">
<h1 class="mt-2">{{ 'wizard.profile.title'|trans({}, 'wizard') }}</h1>
<p class="text-body-secondary">{{ 'wizard.profile.description'|trans({}, 'wizard') }}</p>
</div>
@@ -19,10 +19,11 @@
const skinChooser = document.getElementById('form_skin');
if (skinChooser !== null) {
skinChooser.addEventListener('change', () => {
document.body.classList.remove('theme-light');
document.body.classList.remove('theme-default');
document.body.classList.remove('theme-dark');
document.body.classList.add('theme-' + skinChooser.value);
document.querySelectorAll('[data-bs-theme]').forEach(
element => {
element.dataset['bsTheme'] = (skinChooser.value === 'default' ? 'light' : 'dark');
}
);
});
}