Skip to content

Commit a676c78

Browse files
authored
Remove duplicate center alignment style for equations (typst#6667)
1 parent a42501c commit a676c78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/typst-library/src/math/equation.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ impl ShowSet for Packed<EquationElem> {
168168
fn show_set(&self, styles: StyleChain) -> Styles {
169169
let mut out = Styles::new();
170170
if self.block.get(styles) {
171-
out.set(AlignElem::alignment, Alignment::CENTER);
172171
out.set(AlignElem::alignment, Alignment::CENTER);
173172
out.set(BlockElem::breakable, false);
174173
out.set(ParLine::numbering, None);

0 commit comments

Comments
 (0)