aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/user/profile.tmpl2
-rw-r--r--web_src/less/_base.less9
2 files changed, 10 insertions, 1 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 12e1459764..ddad4c46c3 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -83,7 +83,7 @@
</div>
</div>
<div class="ui eleven wide column">
- <div class="ui secondary stackable pointing menu">
+ <div class="ui secondary stackable pointing tight menu">
<a class='{{if and (ne .TabName "activity") (ne .TabName "following") (ne .TabName "followers") (ne .TabName "stars") (ne .TabName "projects")}}active{{end}} item' href="{{.Owner.HomeLink}}">
{{svg "octicon-repo"}} {{.i18n.Tr "user.repositories"}}
</a>
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 2b27e41e61..f5c322ba43 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -277,6 +277,10 @@ a.muted:hover,
.ui.menu .item {
color: var(--color-text);
+
+ .svg {
+ margin-right: .35em;
+ }
}
.ui.menu .item > .label {
@@ -381,6 +385,11 @@ a.muted:hover,
background: var(--color-active);
}
+.ui.secondary.menu.tight .item {
+ padding-left: .85714286em;
+ padding-right: .85714286em;
+}
+
.ui.menu .dropdown.item .menu {
background: var(--color-menu);
}