Skip to content

Commit bf8d0b5

Browse files
committed
Update CSS following the MD preview upgrade
1 parent 1242f54 commit bf8d0b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
<!-- Pinia -->
9494
<script src="https://cdn.jsdelivr.org/npm/vue-demi/lib/index.iife.min.js"></script>
95-
<script src="https://cdn.jsdelivr.org/npm/pinia@2.3.1/dist/pinia.iife.prod.js"></script>
95+
<script src="https://cdn.jsdelivr.org/npm/pinia/dist/pinia.iife.prod.js"></script>
9696
<script src="https://cdn.jsdelivr.org/npm/pinia-plugin-persist/dist/pinia-persist.umd.min.js"></script>
9797

9898
<!-- MD -->
@@ -934,8 +934,8 @@ <h5 class="font-weight-bold mb-4">MCP</h5>
934934
<v-textarea class="conversation-area" variant="plain" density='compact' auto-grow
935935
hide-details rows="1" readonly v-model="group.message.content"></v-textarea>
936936
</v-card-text>
937-
<v-card-text v-else class="md-preview">
938-
<md-preview :model-value="group.message.content" class="mx-2 my-n2"
937+
<v-card-text v-else class="md-preview px-5 py-2">
938+
<md-preview :model-value="group.message.content"
939939
:language="language == 'zhHans' ? 'zh-CN' : 'en-US'" :code-foldable="true"
940940
auto-fold-threshold="Infinity"></md-preview>
941941
</v-card-text>

0 commit comments

Comments
 (0)