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
1 changed files with 4 additions and 2 deletions

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);