Skip to content

Commit

Permalink
Update block.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
wustep committed Nov 25, 2024
1 parent e40584d commit 9d7ddc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/react-notion-x/src/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,7 @@ export function Block(props: BlockProps) {
const color = formatMap?.[column]?.color
if (color) {
colorClass = `notion-${color}`
} else if (hasColumnHeader && columnIndex === 0 && !isRowHeader) {
// Avoid double-stacking the column header on the row header, since they may have an opacity.
} else if (hasColumnHeader && columnIndex === 0) {
colorClass = 'notion-simple-table-header'
}

Expand Down

0 comments on commit 9d7ddc9

Please sign in to comment.