Skip to content

Commit 8f434da

Browse files
[7.x] Fix dark mode issues in Page Details modal (#477)
1 parent c0e155a commit 8f434da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/js/components/reporting/PageDetailsModal.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ const close = () => {
2525
<div
2626
v-for="item in page.results"
2727
class="flex leading-normal p-2 rounded-lg gap-x-3"
28-
:class="{ 'bg-red-50 dark:bg-dark-400': item.status !== 'pass' }"
28+
:class="{ 'bg-red-50 dark:!bg-dark-400': item.status !== 'pass' }"
2929
>
3030
<StatusIcon :status="item.status" class="mt-1" />
3131
<div class="flex-1 prose text-gray-700">
32-
<Heading size="sm" class="text-gray-900 dark:text-dark-100" :text="item.description" />
32+
<Heading size="sm" class="text-gray-900 dark:!text-dark-100" :text="item.description" />
3333
<Description :class="{ 'text-red-500': item.status !== 'pass' }" v-if="item.comment" :text="item.comment" />
3434
</div>
3535
</div>
3636
</div>
3737

3838
<template #footer>
3939
<div class="flex items-center justify-between pt-3 pb-1">
40-
<a v-if="page.url" :href="page.url" target="_blank" class="font-normal font-mono text-xs ps-2 text-gray-700 hover:text-blue-500! grow truncate" v-text="page.url" />
40+
<a v-if="page.url" :href="page.url" target="_blank" class="font-normal font-mono text-xs ps-2 text-gray-700 dark:!text-gray-100 hover:text-blue-500! grow truncate" v-text="page.url" />
4141
<Button v-if="page.edit_url" :href="page.edit_url" target="_blank" :text="__('Edit Entry')" />
4242
</div>
4343
</template>

0 commit comments

Comments
 (0)