File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -245,10 +245,11 @@ <h3 class="text-lg font-bold mb-6">Settings</h3>
245
245
< div :class ="{
246
246
'chat-bubble markdown': true,
247
247
'chat-bubble-base-300': msg.role !== 'user',
248
- } " dir =" auto " >
248
+ } ">
249
249
<!-- textarea for editing message -->
250
250
< template v-if ="editingContent !== null ">
251
251
< textarea
252
+ dir ="auto "
252
253
class ="textarea textarea-bordered bg-base-100 text-base-content w-[calc(90vw-8em)] lg:w-96 "
253
254
v-model ="editingContent "> </ textarea >
254
255
< br />
@@ -259,7 +260,9 @@ <h3 class="text-lg font-bold mb-6">Settings</h3>
259
260
<!-- show loading dots for pending message -->
260
261
< span v-if ="msg.content === null " class ="loading loading-dots loading-md "> </ span >
261
262
<!-- render message as markdown -->
262
- < vue-markdown v-else :source ="msg.content "> </ vue-markdown >
263
+ < div v-else dir ="auto ">
264
+ < vue-markdown :source ="msg.content "> </ vue-markdown >
265
+ </ div >
263
266
<!-- render timings if enabled -->
264
267
< div class ="dropdown dropdown-hover dropdown-top mt-2 " v-if ="timings && config.showTokensPerSecond ">
265
268
< div tabindex ="0 " role ="button " class ="cursor-pointer font-semibold text-sm opacity-60 "> Speed: {{ timings.predicted_per_second.toFixed(1) }} t/s</ div >
You can’t perform that action at this time.
0 commit comments