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. 2
      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 {
margin-top: -10px;
}
.user.settings .orgs {
.user.settings .orgs.non-empty {
padding: 0;
}
.user.settings .orgs .item {

2
public/less/_user.less

@ -20,7 +20,9 @@
}
}
.orgs {
&.non-empty {
padding: 0;
}
.item {
padding: 10px;
.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>
</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}}

Loading…
Cancel
Save