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:
parent
ce7911a91c
commit
1db1ad1a45
|
@ -65,6 +65,7 @@
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
background: none;
|
background: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
font-family: Inter;
|
||||||
}
|
}
|
||||||
|
|
||||||
.switcher > .selected {
|
.switcher > .selected {
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
<style>
|
<style>
|
||||||
.root {
|
.root {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: grid;
|
||||||
|
grid-template-columns: 300px minmax(0, 1fr) 300px;
|
||||||
background: var(--grey-1);
|
background: var(--grey-1);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
|
|
||||||
.root {
|
.root {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: grid;
|
||||||
|
grid-template-columns: 300px minmax(0, 1fr) 300px;
|
||||||
background: var(--grey-1);
|
background: var(--grey-1);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,8 @@
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
overflow: scroll; /* Scrollbar are always visible */
|
||||||
|
overflow: auto; /* Scrollbar is displayed as it's needed */
|
||||||
}
|
}
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
|
|
Loading…
Reference in New Issue