Docfile commited on
Commit
b71fac7
·
verified ·
1 Parent(s): ef9d1af

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +10 -30
templates/index.html CHANGED
@@ -118,42 +118,22 @@
118
  }
119
 
120
 
121
- #response {
122
- white-space: pre-wrap; /* Préserve les espaces et les sauts de ligne */
123
- word-wrap: break-word; /* Permet le retour à la ligne des mots longs */
124
- overflow-wrap: break-word; /* Assure la césure des mots très longs */
 
125
  }
126
 
127
- /* Styles pour le contenu markdown */
128
- #response p {
129
- margin-bottom: 1em;
130
- line-height: 1.6;
131
- }
132
-
133
- #response ul, #response ol {
134
- padding-left: 1.5em;
135
- margin-bottom: 1em;
136
- }
137
-
138
- #response li {
139
- margin-bottom: 0.5em;
140
- }
141
-
142
- /* Ajustements responsives pour mobile */
143
  @media (max-width: 640px) {
144
- #response {
145
  font-size: 0.95rem;
146
- padding: 1rem;
147
- }
148
-
149
- #response p, #response li {
150
- line-height: 1.7;
151
- }
152
-
153
- #response ul, #response ol {
154
- padding-left: 1.2em;
155
  }
156
  }
 
 
157
  </style>
158
  </head>
159
 
 
118
  }
119
 
120
 
121
+ /* Style pour préserver les espaces dans le markdown */
122
+ .prose {
123
+ white-space: pre-wrap; /* preserve line breaks and spaces */
124
+ word-wrap: break-word; /* break long words */
125
+ overflow-wrap: break-word; /* allow words to break */
126
  }
127
 
128
+ /* Style optionnel pour améliorer la lisibilité sur mobile */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  @media (max-width: 640px) {
130
+ .prose {
131
  font-size: 0.95rem;
132
+ line-height: 1.6;
 
 
 
 
 
 
 
 
133
  }
134
  }
135
+
136
+
137
  </style>
138
  </head>
139