codex: Style tweaks to sub archive section

This commit is contained in:
2025-12-03 17:17:42 +01:00
parent bff84f8ff2
commit c66cda70be
2 changed files with 6 additions and 3 deletions

View File

@@ -171,9 +171,9 @@ module Archive =
Html.div [
prop.classes [ "grow" ]
prop.style [
style.flexBasis (length.px 512)
style.minWidth (length.px 512)
style.maxWidth (length.px 768)
style.flexBasis (length.px 384)
style.minWidth (length.px 384)
style.maxWidth (length.px 512)
]
prop.children [
Html.h2 "Sub archives"

View File

@@ -40,6 +40,9 @@ type Archives =
prop.classes [ "flex-row"; "flex-wrap"; "gap-16" ]
prop.children [
Html.div [
prop.style [
style.flexBasis (length.px 384)
]
prop.children [
Html.h2 "Props"