|
14 | 14 | {{ $t('views.applicationOverview.appInfo.EmbedDialog.fullscreenModeTitle') }} |
15 | 15 | </p> |
16 | 16 | <img src="@/assets/window1.png" alt="" class="ml-8" height="150" /> |
17 | | - <div class="code layout-bg border-t p-16"> |
18 | | - <div class="flex-between"> |
| 17 | + <div class="code layout-bg border-t p-8"> |
| 18 | + <div class="flex-between p-8"> |
19 | 19 | <span class="bold">{{ |
20 | 20 | $t('views.applicationOverview.appInfo.EmbedDialog.copyInstructions') |
21 | 21 | }}</span> |
22 | 22 | <el-button text @click="copyClick(source1)"> |
23 | 23 | <AppIcon iconName="app-copy"></AppIcon> |
24 | 24 | </el-button> |
25 | 25 | </div> |
26 | | - <div class="mt-8 pre-wrap"> |
27 | | - {{ source1 }} |
28 | | - </div> |
| 26 | + <el-scrollbar height="150" always> |
| 27 | + <div class="pre-wrap p-8 pt-0"> |
| 28 | + {{ source1 }} |
| 29 | + </div> |
| 30 | + </el-scrollbar> |
29 | 31 | </div> |
30 | 32 | </div> |
31 | 33 | </el-col> |
|
35 | 37 | {{ $t('views.applicationOverview.appInfo.EmbedDialog.floatingModeTitle') }} |
36 | 38 | </p> |
37 | 39 | <img src="@/assets/window2.png" alt="" class="ml-8" height="150" /> |
38 | | - <div class="code layout-bg border-t p-16"> |
39 | | - <div class="flex-between"> |
| 40 | + <div class="code layout-bg border-t p-8"> |
| 41 | + <div class="flex-between p-8"> |
40 | 42 | <span class="bold">{{ |
41 | 43 | $t('views.applicationOverview.appInfo.EmbedDialog.copyInstructions') |
42 | 44 | }}</span> |
43 | 45 | <el-button text @click="copyClick(source2)"> |
44 | 46 | <AppIcon iconName="app-copy"></AppIcon> |
45 | 47 | </el-button> |
46 | 48 | </div> |
47 | | - <div class="mt-8 pre-wrap"> |
48 | | - {{ source2 }} |
49 | | - </div> |
| 49 | + <el-scrollbar height="150" always> |
| 50 | + <div class="pre-wrap p-8 pt-0"> |
| 51 | + {{ source2 }} |
| 52 | + </div> |
| 53 | + </el-scrollbar> |
50 | 54 | </div> |
51 | 55 | </div> |
52 | 56 | </el-col> |
@@ -118,7 +122,7 @@ defineExpose({ open }) |
118 | 122 | font-weight: 400; |
119 | 123 | font-size: 13px; |
120 | 124 | white-space: pre; |
121 | | - height: 180px; |
| 125 | + height: 188px; |
122 | 126 | } |
123 | 127 | } |
124 | 128 | </style> |
0 commit comments