Skip to content

Commit

Permalink
fix(extension-react-tables): deleted an incorrect preselectClass styl…
Browse files Browse the repository at this point in the history
…e on react-table-extension (#1577)

* deleted an incorrect preselectClass style for react-table-extension

* added changeset

* reverted back css selector order
  • Loading branch information
devcer committed Apr 4, 2022
1 parent c86faac commit e9f4841
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-apples-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@remirror/extension-react-tables': patch
---

deleted an incorrect preselectClass style on react-table-extension
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ export function getTableStyle(attrs: ControllerStateValues): string {
if (attrs.preselectColumn !== -1) {
classNames = css`
& table.${ExtensionTablesTheme.TABLE} tbody tr {
th, td {
th,
td {
&:nth-child(${attrs.preselectColumn + 1}) {
${preselectClass};
}
}
${preselectClass};
}
th.${ExtensionTablesTheme.TABLE_CONTROLLER}:nth-child(${attrs.preselectColumn + 1}) {
${preselectControllerClass}
Expand Down

1 comment on commit e9f4841

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://remirror.io as production
🚀 Deployed on https://624a92ef4549ff0c6f3c1d9e--remirror.netlify.app

Please sign in to comment.