Skip to content
Snippets Groups Projects
Commit 8e59009d authored by Pierre Fleutot's avatar Pierre Fleutot
Browse files

Amélioration CSS définitions des entrées dans le tableau d'un lexique

parent 091d6ec6
No related branches found
No related tags found
No related merge requests found
...@@ -391,7 +391,9 @@ table.label-table > tbody > tr > td { ...@@ -391,7 +391,9 @@ table.label-table > tbody > tr > td {
.card-body.card-definition { .card-body.card-definition {
margin-top: 2px; margin-top: 2px;
margin-bottom: 5px; margin-bottom: 5px;
padding: 5px; padding: 5px 5px 5px 15px;
font-size: .8rem;
font-weight: bold;
} }
.show-on-hover > a { .show-on-hover > a {
display: none; display: none;
......
<div id="selectionActions" class="row"> <div id="selectionActions" class="row">
<div class="col-md-12"> <div class="col-md-12">
<i>{{ "Avec la sélection"|trans }}:</i> <i>{{ "Avec la sélection"|trans }}:</i>
<a title="{{ "Créer des entrées pour ces mots-vedettes dans un lexique"|trans }}" href="#" class="modal-form btn btn-light btn-sm" <a title="{{ "Créer des entrées pour ces mots-vedettes dans un lexique"|trans }}" href="#" class="modal-form btn btn-light btn-sm"
......
...@@ -145,7 +145,9 @@ ...@@ -145,7 +145,9 @@
</a> </a>
<div class="collapse" id="def-{{ entry.id }}-{{ loop.index }}"> <div class="collapse" id="def-{{ entry.id }}-{{ loop.index }}">
<div class="card card-body card-definition"> <div class="card card-body card-definition">
{{ definitions|join('<br>')|raw }} {% for definition in definitions %}
<div class="my-1">{{ loop.index }}. {{ definition }}</div>
{% endfor %}
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment