mirror of
https://github.com/typst/typst
synced 2025-05-15 09:35:28 +08:00
Fixes #1398. How this works for the other shapes is a hack, but the line was missing from that hack.
6 lines
107 B
XML
6 lines
107 B
XML
// Test right-aligning a line and a rectangle.
|
|
|
|
---
|
|
#align(right, line(length: 30%))
|
|
#align(right, rect())
|