Skip to content

Commit 3cd6f1c

Browse files
authored
style: tweak the commit sidebar overflow style (#461)
1 parent 7c17dbd commit 3cd6f1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/app/components/Commits.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ onBeforeMount(async () => {
8888
return `
8989
<div class="relative group my-4 rounded-lg overflow-hidden border border-gray-200 dark:border-gray-700 shadow-sm">
9090
<div class="flex items-center justify-end px-4 py-1 bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700">
91-
<button
91+
<button
9292
onclick='(${copyCodeHandler.toString()}).call(this, ${JSON.stringify(text)})'
9393
class="px-2 py-1 text-xs text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-700 rounded transition-colors opacity-0 group-hover:opacity-100"
9494
title="Copy to clipboard"
@@ -278,7 +278,7 @@ async function fetchMore() {
278278
</div>
279279

280280
<div
281-
class="max-w-full p-4 overflow-x-scroll border border-gray-100 dark:border-gray-800 rounded-lg prose dark:prose-invert flex flex-col gap-2"
281+
class="max-w-full p-4 overflow-x-auto border border-gray-100 dark:border-gray-800 rounded-lg prose dark:prose-invert flex flex-col gap-2"
282282
v-html="marked(selectedCommit.release.text)"
283283
/>
284284
</div>

0 commit comments

Comments
 (0)