mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
Bugfix/table cell color fix (#870)
* Table widget: data on inspector is readable in dark mode * table body colors * removed repeated properties in the widget ispector or table widget
This commit is contained in:
parent
51d6537b02
commit
fa2c84f3d6
3 changed files with 2 additions and 6 deletions
|
|
@ -31,7 +31,6 @@ export const Datepicker = function Datepicker({ value, onChange, readOnly, isTim
|
|||
disabled: !readOnly,
|
||||
};
|
||||
|
||||
|
||||
const onDatepickerClose = () => {
|
||||
onChange(date);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ export function Table({
|
|||
const textColor = resolveReferences(column.textColor, currentState, { cellValue });
|
||||
|
||||
const cellStyles = {
|
||||
color: textColor === undefined ? (darkMode === true ? '#fff' : 'black') : textColor,
|
||||
color: textColor ?? '',
|
||||
};
|
||||
|
||||
if (column.isEditable) {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ export const EventManager = ({
|
|||
excludeEvents,
|
||||
popOverCallback,
|
||||
popoverPlacement,
|
||||
darkMode,
|
||||
}) => {
|
||||
const [focusedEventIndex, setFocusedEventIndex] = useState(null);
|
||||
|
||||
|
|
@ -258,9 +257,7 @@ export const EventManager = ({
|
|||
}}
|
||||
>
|
||||
<div className={rowClassName} role="button">
|
||||
<div className="col">
|
||||
{componentMeta.events[event.eventId]['displayName']}
|
||||
</div>
|
||||
<div className="col">{componentMeta.events[event.eventId]['displayName']}</div>
|
||||
<div className="col">
|
||||
<small className="event-action">{actionMeta.name}</small>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue