Skip to content

Commit

Permalink
feat: 根据页面宽度调整表格(cont.)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Dec 4, 2024
1 parent 16a23c2 commit 8fd3afe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/introduction.typ
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ typst watch file.typ
#{
set align(center)
table(
columns: if get-page-width() < 600pt {
1fr
columns: if get-page-width() < 500pt {
(1fr, 1fr, 1fr, 1fr, 1fr, 1fr, 1fr)
} else {
(1fr, 1fr, 1fr, 5em, 5em, 5em, 10em)
},
Expand Down

0 comments on commit 8fd3afe

Please sign in to comment.