Skip to content

Commit

Permalink
fix(block): fix crash on empty right aligned title (#933)
Browse files Browse the repository at this point in the history
- Simplified implementation of the rendering for block.
- Introduces a subtle rendering change where centered titles that are
  odd in length will now be rendered one character to the left compared
  to before. This aligns with other places that we render centered text
  and is a more consistent behavior. See
  #807 (comment)
  for another example of this.

Fixes: #929
  • Loading branch information
joshka committed Feb 7, 2024
1 parent 8fb4630 commit 2202059
Show file tree
Hide file tree
Showing 2 changed files with 464 additions and 352 deletions.

0 comments on commit 2202059

Please sign in to comment.