Skip to content

Commit

Permalink
[5.x] Fix Table Fieldtype in dark mode (#10484)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Jul 19, 2024
1 parent 5717a0b commit 712ef1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/components/fieldtypes/TableFieldtype.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<portal name="table-fullscreen" :disabled="!fullScreenMode" target-class="table-fieldtype">
<div class="table-fieldtype-container" :class="{'table-fullscreen bg-white': fullScreenMode }">
<header class="bg-gray-200 border-b py-3 rtl:pr-3 ltr:pl-3 flex items-center justify-between relative" v-if="fullScreenMode">
<div class="table-fieldtype-container" :class="{'table-fullscreen bg-white dark:bg-dark-700': fullScreenMode }">
<header class="bg-gray-200 dark:bg-dark-550 border-b dark:border-dark-900 py-3 rtl:pr-3 ltr:pl-3 flex items-center justify-between relative" v-if="fullScreenMode">
<h2 v-text="__(config.display)" />
<button class="btn-close absolute top-2 rtl:left-5 ltr:right-5" @click="fullScreenMode = false" :aria-label="__('Exit Fullscreen Mode')">&times;</button>
</header>
<section :class="{'p-4': fullScreenMode}">
<section :class="{'p-4 dark:bg-dark-700': fullScreenMode}">
<table class="table-fieldtype-table" v-if="rowCount">
<thead>
<tr>
Expand Down

0 comments on commit 712ef1c

Please sign in to comment.