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>
245245 < div :class ="{
246246 'chat-bubble markdown': true,
247247 'chat-bubble-base-300': msg.role !== 'user',
248- } " dir =" auto " >
248+ } ">
249249 <!-- textarea for editing message -->
250250 < template v-if ="editingContent !== null ">
251251 < textarea
252+ dir ="auto "
252253 class ="textarea textarea-bordered bg-base-100 text-base-content w-[calc(90vw-8em)] lg:w-96 "
253254 v-model ="editingContent "> </ textarea >
254255 < br />
@@ -259,7 +260,9 @@ <h3 class="text-lg font-bold mb-6">Settings</h3>
259260 <!-- show loading dots for pending message -->
260261 < span v-if ="msg.content === null " class ="loading loading-dots loading-md "> </ span >
261262 <!-- 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 >
263266 <!-- render timings if enabled -->
264267 < div class ="dropdown dropdown-hover dropdown-top mt-2 " v-if ="timings && config.showTokensPerSecond ">
265268 < 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