Setting to show / hide articles thumbnails styling

This commit is contained in:
Simounet 2023-06-14 21:08:36 +02:00
parent 7eddea6ff7
commit 97a87235a1
No known key found for this signature in database
GPG key ID: 77D3B7DC794EB770
4 changed files with 13 additions and 4 deletions

View file

@ -315,6 +315,15 @@ a.original:not(.waves-effect) {
padding-bottom: 15px; padding-bottom: 15px;
} }
.settings .settings-checkbox-col {
padding: 0;
}
.settings .settings-checkbox-label {
margin-bottom: 20px;
height: 3rem;
}
.entries-row { .entries-row {
display: grid; display: grid;
margin: 0.4rem 0 0; margin: 0.4rem 0 0;

View file

@ -39,10 +39,10 @@
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s11"> <div class="input-field col s11 settings-checkbox-col">
{{ form_errors(form.config.display_thumbnails) }} {{ form_errors(form.config.display_thumbnails) }}
{{ form_widget(form.config.display_thumbnails) }} {{ form_widget(form.config.display_thumbnails) }}
{{ form_label(form.config.display_thumbnails) }} {{ form_label(form.config.display_thumbnails, null, {'label_attr': {'class': 'settings-checkbox-label'}}) }}
</div> </div>
<div class="input-field col s1"> <div class="input-field col s1">
<a href="#" class="tooltipped" data-position="left" data-delay="50" data-tooltip="{{ 'config.form_settings.help_display_thumbnails'|trans }}"> <a href="#" class="tooltipped" data-position="left" data-delay="50" data-tooltip="{{ 'config.form_settings.help_display_thumbnails'|trans }}">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long