settings: fix organization panel CSS

pull/4150/head
Unknwon 2017-02-18 02:22:59 -05:00
parent 71f0dd858b
commit c8982f4165
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
3 changed files with 5 additions and 3 deletions

View File

@ -2762,7 +2762,7 @@ footer .ui.language .menu {
.user.settings .email.list .item:not(:first-child) .button {
margin-top: -10px;
}
.user.settings .orgs {
.user.settings .orgs.non-empty {
padding: 0;
}
.user.settings .orgs .item {

View File

@ -20,7 +20,9 @@
}
}
.orgs {
padding: 0;
&.non-empty {
padding: 0;
}
.item {
padding: 10px;
.button {

View File

@ -11,7 +11,7 @@
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "new_org"}}</a>
</div>
</h4>
<div class="ui attached segment orgs">
<div class="ui attached segment orgs {{if .Orgs}}non-empty{{end}}">
{{if .Orgs}}
<div class="ui middle aligned divided list">
{{range .Orgs}}