diff --git a/src/renderer/src/components/preview/MessageBody.vue b/src/renderer/src/components/preview/MessageBody.vue index ab447e4..a4b9f41 100644 --- a/src/renderer/src/components/preview/MessageBody.vue +++ b/src/renderer/src/components/preview/MessageBody.vue @@ -53,6 +53,15 @@ const processedHtml = computed(() => { padding: 4px 14px; color: rgba(255,255,255,0.45); } + ::-webkit-scrollbar { width: 4px; height: 4px; } + ::-webkit-scrollbar-track { background: transparent; } + ::-webkit-scrollbar-thumb { + background: rgba(255,255,255,0.13); + border-radius: 9999px; + } + ::-webkit-scrollbar-thumb:hover { + background: rgba(255,255,255,0.26); + }
${html} @@ -84,6 +93,15 @@ const plainTextHtml = computed(() => { word-wrap: break-word; } a { color: #a8e600; } + ::-webkit-scrollbar { width: 4px; height: 4px; } + ::-webkit-scrollbar-track { background: transparent; } + ::-webkit-scrollbar-thumb { + background: rgba(255,255,255,0.13); + border-radius: 9999px; + } + ::-webkit-scrollbar-thumb:hover { + background: rgba(255,255,255,0.26); + } ${escaped} diff --git a/src/renderer/src/views/SettingsView.vue b/src/renderer/src/views/SettingsView.vue index 9c3bae9..98ebf86 100644 --- a/src/renderer/src/views/SettingsView.vue +++ b/src/renderer/src/views/SettingsView.vue @@ -45,7 +45,14 @@ const swipeOptions: { value: SwipeAction; label: string }[] = (