Style: création du shortcode table

`{% table() %}` […] `{% end %}` pour entourer les tableaux dans une div
scrollable sur écran étroit
This commit is contained in:
MickGe 2023-06-05 22:54:26 +02:00 committed by MickGe
parent c119829cb4
commit f6dda602a3
2 changed files with 7 additions and 0 deletions

View File

@ -10,4 +10,8 @@
.box-shadow {
box-shadow: 0 2px 10px 2px #ddd;
}
.overflow-scroll {
overflow: scroll;
}

View File

@ -0,0 +1,3 @@
<div {% if class %} class="{{class}}"{% else %} class="overflow-scroll" {% endif %} >
{{ body | safe | markdown }}
</div>