Profile: check container query supports
All checks were successful
/ depoly (push) Successful in 1m25s
All checks were successful
/ depoly (push) Successful in 1m25s
This commit is contained in:
parent
66d0bc8d84
commit
62aaaeee9a
1 changed files with 27 additions and 25 deletions
|
@ -115,39 +115,41 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@container StackedPage (inline-size >=960px) {
|
@supports (container-type: inline-size) {
|
||||||
.Profile {
|
@container StackedPage (inline-size >=960px) {
|
||||||
display: grid;
|
.Profile {
|
||||||
grid-template-columns: auto 560px;
|
display: grid;
|
||||||
grid-template-rows: min-content 1fr;
|
grid-template-columns: auto 560px;
|
||||||
height: 100cqh;
|
grid-template-rows: min-content 1fr;
|
||||||
|
height: 100cqh;
|
||||||
|
|
||||||
>.topbar {
|
>.topbar {
|
||||||
grid-column: 1 / 3;
|
grid-column: 1 / 3;
|
||||||
grid-row: 1 /2;
|
grid-row: 1 /2;
|
||||||
|
|
||||||
.MuiToolbar-root {
|
.MuiToolbar-root {
|
||||||
padding-right: calc(560px + 24px);
|
padding-right: calc(560px + 24px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
> .details {
|
>.details {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column nowrap;
|
flex-flow: column nowrap;
|
||||||
|
|
||||||
> .intro {
|
>.intro {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
>.recent-toots {
|
>.recent-toots {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin-top: calc(-1 * var(--scaffold-topbar-height));
|
margin-top: calc(-1 * var(--scaffold-topbar-height));
|
||||||
z-index: calc(var(--tutu-zidx-nav, 1) + 1);
|
z-index: calc(var(--tutu-zidx-nav, 1) + 1);
|
||||||
|
|
||||||
>.toot-list-toolbar {
|
>.toot-list-toolbar {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue