refactor: ♻️ assign grid-areas inside component classes

This commit is contained in:
Sebin Nyshkim 2025-07-07 16:18:44 +02:00
parent 291efe0924
commit 36ece6984d
3 changed files with 4 additions and 8 deletions

View file

@ -6,6 +6,8 @@
<style webc:scoped="page-content">
:host {
grid-area: content;
width: 100%;
max-width: 65ch;

View file

@ -23,6 +23,8 @@
position: var(--sidebar-position);
top: var(--page-spacing);
grid-area: info;
display: grid;
grid-template-columns: var(--sidebar-grid-columns);
grid-template-areas: var(--sidebar-grid-areas);

View file

@ -80,14 +80,6 @@ layout: base.webc
hyphens: auto;
}
aside {
grid-area: info;
}
section {
grid-area: content;
}
footer {
--columns: 1fr;