refactor: ♻️ migrate character page layout to css grid
This commit is contained in:
parent
bc27ccb1d2
commit
bda440fcbb
3 changed files with 24 additions and 10 deletions
|
@ -16,7 +16,6 @@
|
|||
<style>
|
||||
.profile {
|
||||
--sidebar-position: static;
|
||||
--sidebar-size: 65ch;
|
||||
--sidebar-padding: 1rem;
|
||||
--sidebar-top-flex: 1 1 auto;
|
||||
--sidebar-top-flow: row nowrap;
|
||||
|
@ -31,7 +30,6 @@
|
|||
gap: 0.75em;
|
||||
|
||||
width: 100%;
|
||||
max-width: var(--sidebar-size);
|
||||
|
||||
background-color: var(--clr-box-background);
|
||||
|
||||
|
@ -42,7 +40,6 @@
|
|||
|
||||
@media (min-width: 64em) {
|
||||
--sidebar-position: sticky;
|
||||
--sidebar-size: 18em;
|
||||
--sidebar-padding: 1.5rem;
|
||||
--sidebar-top-flex: 0 0 auto;
|
||||
--sidebar-top-flow: column nowrap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue