Skip to content

Commit 1b4d3c5

Browse files
committed
fix org name overflow
1 parent ea5df12 commit 1b4d3c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/user/dashboard/navbar.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</div>
3838
{{if .SignedUser.CanCreateOrganization}}
3939
<a class="item" href="{{AppSubUrl}}/org/create">
40-
{{svg "octicon-plus"}}&nbsp;&nbsp;&nbsp;{{ctx.Locale.Tr "new_org"}}
40+
{{svg "octicon-plus" 16 "tw-ml-1 tw-mr-5"}}{{ctx.Locale.Tr "new_org"}}
4141
</a>
4242
{{end}}
4343
</div>
@@ -77,7 +77,7 @@
7777
{{end}}
7878

7979
{{if .ContextUser.IsOrganization}}
80-
<div class="right menu">
80+
<div class="right menu tw-flex-wrap tw-justify-end">
8181
<a class="{{if .PageIsNews}}active {{end}}item tw-ml-auto" href="{{.ContextUser.DashboardLink}}{{if .Team}}/{{PathEscape .Team.Name}}{{end}}">
8282
{{svg "octicon-rss"}}&nbsp;{{ctx.Locale.Tr "activities"}}
8383
</a>
@@ -98,7 +98,7 @@
9898
{{end}}
9999
<div class="item">
100100
<a class="ui primary basic button" href="{{.ContextUser.HomeLink}}" title="{{ctx.Locale.Tr "home.view_home" .ContextUser.Name}}">
101-
{{ctx.Locale.Tr "home.view_home" (.ContextUser.ShortName 40)}}
101+
{{ctx.Locale.Tr "home.view_home" (.ContextUser.ShortName 20)}}
102102
</a>
103103
</div>
104104
</div>

0 commit comments

Comments
 (0)