Fix right margin of entities list

This commit is contained in:
David Rowe 2016-04-07 08:19:16 +12:00
parent b6a511ac80
commit 9119b82718
2 changed files with 4 additions and 1 deletions

View file

@ -789,6 +789,7 @@ textarea:enabled[scrolling="true"]::-webkit-resizer {
width: 100%;
overflow-x: hidden;
overflow-y: auto;
box-sizing: border-box;
padding-top: 28px; /* Space for header and footer outside of scroll region. */
margin-top: 28px;
border-left: 2px solid #575757;
@ -807,6 +808,7 @@ textarea:enabled[scrolling="true"]::-webkit-resizer {
}
#entity-table thead {
box-sizing: border-box;
border: 2px solid #575757;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
@ -814,6 +816,7 @@ textarea:enabled[scrolling="true"]::-webkit-resizer {
}
#entity-table tfoot {
box-sizing: border-box;
border: 2px solid #575757;
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;

View file

@ -254,7 +254,7 @@
function resize() {
// Take up available window space
elEntityTableScroll.style.height = window.innerHeight - 232;
elEntityTableScroll.style.height = window.innerHeight - 200;
// Update the widths of the header cells to match the body
var tds = document.querySelectorAll("#entity-table-body tr:first-child td");