diff --git a/content/netcanv.dj b/content/netcanv.dj index 6bdc25d..b34aa79 100644 --- a/content/netcanv.dj +++ b/content/netcanv.dj @@ -228,6 +228,9 @@ Here is an interactive visualisation of how the immediate-mode layout system wor position: relative; &>svg { + max-width: 100%; + object-fit: contain; + & g.stack { --ease: var(--ease-out-quintic); @@ -253,14 +256,25 @@ Here is an interactive visualisation of how the immediate-mode layout system wor } &>.controls { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; + display: grid; gap: 0.8rem; + grid-template-columns: auto auto; + align-items: center; + + &>p { + padding: 0; + padding-right: 0.8rem; + text-align: right; + } + + &>.category { + display: flex; + flex-direction: row; + flex-wrap: wrap; + gap: 0.8rem; + } & hr { - display: block; margin: 0; width: 0; align-self: stretch; @@ -292,21 +306,28 @@ Here is an interactive visualisation of how the immediate-mode layout system wor