Skip to content

Commit

Permalink
section node not support style overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Nov 10, 2024
1 parent 65eddf6 commit 12e8ae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/StyleContextStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ class StyleContextStack {
return 0;
}

if (typeof item.section !== 'undefined') { // section node not support style overrides
return 0;
}

let styleNames = [];

if (item.style) {
Expand Down

0 comments on commit 12e8ae5

Please sign in to comment.