Layout update

The backend table was pushing the right panel out of sight on smaller screens. I have added css grid to control the layout, including a minimax section so the content does not dictate the size of the middle screen.
This commit is contained in:
Joe 2020-07-14 14:52:11 +01:00
parent df0647ddf8
commit 0e2bb2cf84
4 changed files with 7 additions and 2 deletions

View File

@ -65,6 +65,7 @@
margin-right: 20px;
background: none;
outline: none;
font-family: Inter;
}
.switcher > .selected {

View File

@ -22,7 +22,8 @@
<style>
.root {
height: 100%;
display: flex;
display: grid;
grid-template-columns: 300px minmax(0, 1fr) 300px;
background: var(--grey-1);
line-height: 1;
}

View File

@ -27,7 +27,8 @@
.root {
height: 100%;
display: flex;
display: grid;
grid-template-columns: 300px minmax(0, 1fr) 300px;
background: var(--grey-1);
line-height: 1;
}

View File

@ -71,6 +71,8 @@
background: #fff;
border-radius: 3px;
border-collapse: collapse;
overflow: scroll; /* Scrollbar are always visible */
overflow: auto; /* Scrollbar is displayed as it's needed */
}
thead {