mirror of
https://github.com/typst/typst
synced 2025-08-03 01:37:54 +08:00
Remove duplicate center alignment style for equations (#6667)
This commit is contained in:
parent
a42501c613
commit
a676c78a05
@ -168,7 +168,6 @@ impl ShowSet for Packed<EquationElem> {
|
||||
fn show_set(&self, styles: StyleChain) -> Styles {
|
||||
let mut out = Styles::new();
|
||||
if self.block.get(styles) {
|
||||
out.set(AlignElem::alignment, Alignment::CENTER);
|
||||
out.set(AlignElem::alignment, Alignment::CENTER);
|
||||
out.set(BlockElem::breakable, false);
|
||||
out.set(ParLine::numbering, None);
|
||||
|
Loading…
x
Reference in New Issue
Block a user