Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +9 -1
templates/index.html
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="fr">
|
3 |
<head>
|
@@ -33,7 +34,14 @@
|
|
33 |
.markdown-content blockquote { @apply pl-4 border-l-4 border-gray-300 italic my-4; }
|
34 |
.markdown-content code:not(pre code) { @apply bg-gray-100 px-1 rounded text-sm font-mono whitespace-pre-wrap; }
|
35 |
.markdown-content pre { @apply bg-gray-100 p-4 rounded-lg mb-4 overflow-x-auto whitespace-pre-wrap; }
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
.markdown-content th { @apply bg-gray-100 border-b border-gray-300 px-4 py-2 text-left; }
|
38 |
.markdown-content td { @apply border-b border-gray-300 px-4 py-2; }
|
39 |
.markdown-content img { @apply max-w-full h-auto my-4 rounded-lg; }
|
|
|
1 |
+
|
2 |
<!DOCTYPE html>
|
3 |
<html lang="fr">
|
4 |
<head>
|
|
|
34 |
.markdown-content blockquote { @apply pl-4 border-l-4 border-gray-300 italic my-4; }
|
35 |
.markdown-content code:not(pre code) { @apply bg-gray-100 px-1 rounded text-sm font-mono whitespace-pre-wrap; }
|
36 |
.markdown-content pre { @apply bg-gray-100 p-4 rounded-lg mb-4 overflow-x-auto whitespace-pre-wrap; }
|
37 |
+
|
38 |
+
/* Affichage des tableaux avec défilement horizontal si nécessaire */
|
39 |
+
.markdown-content table {
|
40 |
+
@apply mb-4 table-auto border border-gray-300;
|
41 |
+
width: 100%;
|
42 |
+
display: block;
|
43 |
+
overflow-x: auto;
|
44 |
+
}
|
45 |
.markdown-content th { @apply bg-gray-100 border-b border-gray-300 px-4 py-2 text-left; }
|
46 |
.markdown-content td { @apply border-b border-gray-300 px-4 py-2; }
|
47 |
.markdown-content img { @apply max-w-full h-auto my-4 rounded-lg; }
|