In narrow mode, let #right be absolute to achieve similar effect.
It's not perfect yet, and 95vh is purely empirical.
This commit is contained in:
parent
1d6464b79b
commit
ee16d02324
1 changed files with 6 additions and 2 deletions
|
@ -130,13 +130,17 @@
|
||||||
#content_body
|
#content_body
|
||||||
{
|
{
|
||||||
grid-template:
|
grid-template:
|
||||||
"right" 100%
|
"right" 95vh
|
||||||
"left" max-content
|
"left" max-content
|
||||||
/ 1fr;
|
/ 1fr;
|
||||||
}
|
}
|
||||||
#right
|
#right
|
||||||
{
|
{
|
||||||
position: relative;
|
position: absolute;
|
||||||
|
top: 34px;
|
||||||
|
bottom: 8px;
|
||||||
|
left: 8px;
|
||||||
|
right: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue