Update layout to have better sizing properties (#1040)
This commit is contained in:
parent
37ea7e2c9a
commit
ea7b8621c3
@ -17,6 +17,7 @@
|
||||
<body>
|
||||
|
||||
<div class="content scrollbar" id="content"><div class="content-body" id="content-body">
|
||||
<div class="content-body-inner">
|
||||
|
||||
<span tabindex="-1" id="content-scroll-focus"></span>
|
||||
|
||||
@ -59,6 +60,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
<!-- Scripts -->
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
<div class="content-outer">
|
||||
<div class="content scrollbar" id="content"><div class="content-body" id="content-body">
|
||||
<div class="content-body-inner">
|
||||
|
||||
<span tabindex="-1" id="content-scroll-focus"></span>
|
||||
|
||||
@ -47,6 +48,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="content-sidebar scrollbar" id="content-sidebar" hidden><div class="content-sidebar-inner">
|
||||
<div class="content-sidebar-top">
|
||||
|
@ -220,16 +220,19 @@ a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
flex-flow: column nowrap;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
position: relative;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.content-body {
|
||||
flex: 1 1 auto;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.content-body-inner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
@ -229,11 +229,12 @@ label.toggle {
|
||||
}
|
||||
|
||||
/* Content layout */
|
||||
.content-body {
|
||||
.content-body-inner {
|
||||
width: var(--main-content-size);
|
||||
padding: 0 var(--main-content-padding);
|
||||
max-width: var(--main-content-size);
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Search bar */
|
||||
|
Loading…
Reference in New Issue
Block a user