Updated members list help vertical alignment

This commit is contained in:
Peter Zimon 2022-02-11 12:13:25 +01:00
parent 7d8dcd2b9d
commit 6b808efb2b
3 changed files with 18 additions and 4 deletions

View File

@ -409,8 +409,8 @@ ul.nostyle li {
height: calc(100vh - 193px);
margin-left: -4vw;
margin-right: -4vw;
padding-left: 4vw;
padding-right: 4vw;
padding-left: 48px;
padding-right: 0;
}
}

View File

@ -56,6 +56,20 @@
table-layout: fixed;
}
.members-list-container-stretch {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: calc(100vh - 96px); /*Height of top menu*/
padding-bottom: 48px;
}
@media (max-width: 1450px) {
.members-list-container-stretch {
min-height: calc(100vh - 128px);
}
}
@media (max-width: 1100px) {
.members-list {
border-bottom: none
@ -510,7 +524,7 @@ p.gh-members-list-email {
}
.gh-members-help {
margin-top: 8vmin;
margin-top: 40px;
margin-bottom: 0;
}

View File

@ -102,7 +102,7 @@
<GhLoadingSpinner />
</div>
{{else}}
<section class="view-container">
<section class="view-container {{if (or (not this.members) (lt this.members.length 6)) "members-list-container-stretch"}}">
{{#if this.members}}
<div class="gh-list-scrolling {{if (lt this.members.length 6) "gh-list-with-helpsection"}}">
<table class="gh-list">