Skip to content

Commit

Permalink
fixed the Table background color when inverted and basic active at sa…
Browse files Browse the repository at this point in the history
…me time
  • Loading branch information
lord2anil committed Mar 24, 2023
1 parent 33962f1 commit 2f3da83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/4603.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fixed the Table background color when inverted and basic active at same time @lord2anil
5 changes: 5 additions & 0 deletions packages/volto-slate/src/blocks/Table/TableBlockEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,11 @@ class Edit extends Component {
celled={this.props.data.table.celled}
inverted={this.props.data.table.inverted}
striped={this.props.data.table.striped}
color={
this.props.data.table.inverted && this.props.data.table.basic
? 'black'
: null
}
className="slate-table-block"
>
{!this.props.data.table.hideHeaders ? (
Expand Down

0 comments on commit 2f3da83

Please sign in to comment.