summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorXaver Maierhofer <xaver.maierhofer@xwissen.info>2019-05-13 22:52:59 +0200
committerLauris BH <lauris@nix.lv>2019-05-13 23:52:58 +0300
commit597ac064c3cb5931bc98b3dea6d742e08cb9fc11 (patch)
treee5967495b2d2c6b5042d8bf7f44402ff9a7f79d5 /public
parent06ae9a3a963cff8d296ca5806df611d1091847df (diff)
downloadgitea-597ac064c3cb5931bc98b3dea6d742e08cb9fc11.tar.gz
gitea-597ac064c3cb5931bc98b3dea6d742e08cb9fc11.zip
Style orgs list in user profile (#6911)
Diffstat (limited to 'public')
-rw-r--r--public/css/index.css2
-rw-r--r--public/less/_user.less15
2 files changed, 17 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css
index a50fe43c8f..8e3e4293e5 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -890,6 +890,8 @@ tbody.commit-list{vertical-align:baseline}
.user.notification .octicon.blue{color:#2185d0}
.user.link-account:not(.icon){padding-top:15px;padding-bottom:5px}
.user.settings .iconFloat{float:left}
+.user-orgs{display:flex;flex-flow:row wrap;padding:0;margin:-3px!important}
+.user-orgs li{display:flex;border-bottom:0!important;padding:3px!important;width:20%;max-width:60px}
.dashboard{padding-top:15px}
.dashboard.feeds .context.user.menu,.dashboard.issues .context.user.menu{z-index:101;min-width:200px}
.dashboard.feeds .context.user.menu .ui.header,.dashboard.issues .context.user.menu .ui.header{font-size:1rem;text-transform:none}
diff --git a/public/less/_user.less b/public/less/_user.less
index 4b9be47269..635db83b49 100644
--- a/public/less/_user.less
+++ b/public/less/_user.less
@@ -133,3 +133,18 @@
}
}
}
+
+.user-orgs {
+ display: flex;
+ flex-flow: row wrap;
+ padding: 0;
+ margin: -3px !important;
+
+ li {
+ display: flex;
+ border-bottom: 0 !important;
+ padding: 3px !important;
+ width: 20%;
+ max-width: 60px;
+ }
+}