1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Convert Page component to use flex to allow more flexibility

This commit is contained in:
Andrew Kingston 2021-05-10 16:14:12 +01:00
parent 86b0ab7600
commit 07f4144457

View file

@ -8,8 +8,10 @@
<style> <style>
div { div {
display: grid; display: flex;
grid-template-columns: 1fr; flex-direction: column;
justify-content: flex-start;
align-items: stretch;
max-width: 80ch; max-width: 80ch;
margin: 0 auto; margin: 0 auto;
padding: calc(var(--spacing-xl) * 2); padding: calc(var(--spacing-xl) * 2);