Skip to content

Commit 2c376cb

Browse files
committed
Minor(modeling-commons): Hide text scrollbar in Embed dialog
1 parent d7c9d20 commit 2c376cb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/modeling-commons-frontend/app/components/model/detail/ModelEmbedDialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="space-y-3">
1717
<p class="text-sm">Copy the URL to share a live preview of the model</p>
1818
<UFieldGroup class="w-full">
19-
<UInput :value="embedPageUrl" readonly class="flex-1" />
19+
<UInput :value="embedPageUrl" readonly class="flex-1" :ui="{ base: 'scrollbar-hidden'}" />
2020
<CopyButton :text="embedPageUrl" />
2121
</UFieldGroup>
2222

@@ -32,7 +32,7 @@
3232
<div class="space-y-3">
3333
<p class="text-sm">Copy the HTML code to embed the model in a webpage</p>
3434
<UFieldGroup class="w-full">
35-
<UTextarea :value="iframeCode" readonly :rows="6" class="flex-1">
35+
<UTextarea :value="iframeCode" readonly :rows="6" class="flex-1" :ui="{ base: 'scrollbar-hidden'}">
3636
<template #trailing>
3737
<CopyButton :text="iframeCode" />
3838
</template>
@@ -52,7 +52,7 @@
5252
<div class="space-y-3">
5353
<p class="text-sm">Copy the Markdown code to embed the model in a Markdown document</p>
5454
<UFieldGroup class="w-full">
55-
<UTextarea :value="markdownCode" readonly :rows="5" class="flex-1">
55+
<UTextarea :value="markdownCode" readonly :rows="5" class="flex-1" :ui="{ base: 'scrollbar-hidden'}">
5656
<template #trailing>
5757
<CopyButton :text="markdownCode" />
5858
</template>

0 commit comments

Comments
 (0)