Skip to content

Commit 1a07ebe

Browse files
authored
Fix overflow on org header (#32837)
1 parent cc5ff98 commit 1a07ebe

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

templates/org/header.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="ui container tw-flex">
22
{{ctx.AvatarUtils.Avatar .Org 100 "org-avatar"}}
3-
<div id="org-info" class="tw-flex tw-flex-col">
3+
<div id="org-info" class="tw-flex tw-flex-col tw-flex-1 tw-break-anywhere">
44
<div class="ui header">
55
{{.Org.DisplayName}}
66
<span class="org-visibility">
@@ -18,7 +18,7 @@
1818
{{end}}
1919
</span>
2020
</div>
21-
{{if .RenderedDescription}}<div class="render-content markup">{{.RenderedDescription}}</div>{{end}}
21+
{{if .RenderedDescription}}<div class="render-content markup tw-break-anywhere">{{.RenderedDescription}}</div>{{end}}
2222
<div class="text light meta tw-mt-1">
2323
{{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
2424
{{if .Org.Website}}<div class="flex-text-block">{{svg "octicon-link"}} <a class="muted" target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}

web_src/css/org.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@
9393
margin-right: 15px;
9494
}
9595

96-
.page-content.organization #org-info {
97-
overflow-wrap: anywhere;
98-
flex: 1;
99-
}
100-
10196
.page-content.organization #org-info .ui.header {
10297
display: flex;
10398
align-items: center;

0 commit comments

Comments
 (0)