Browse Source

settings: fix organization panel CSS

pull/4150/head
Unknwon 8 years ago
parent
commit
c8982f4165
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      public/css/gogs.css
  2. 4
      public/less/_user.less
  3. 2
      templates/user/settings/organizations.tmpl

2
public/css/gogs.css

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

4
public/less/_user.less

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

2
templates/user/settings/organizations.tmpl

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

Loading…
Cancel
Save