mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
Fix overflow on org header (#32837)
This commit is contained in:
parent
cc5ff98e0d
commit
1a07ebe549
@ -1,6 +1,6 @@
|
|||||||
<div class="ui container tw-flex">
|
<div class="ui container tw-flex">
|
||||||
{{ctx.AvatarUtils.Avatar .Org 100 "org-avatar"}}
|
{{ctx.AvatarUtils.Avatar .Org 100 "org-avatar"}}
|
||||||
<div id="org-info" class="tw-flex tw-flex-col">
|
<div id="org-info" class="tw-flex tw-flex-col tw-flex-1 tw-break-anywhere">
|
||||||
<div class="ui header">
|
<div class="ui header">
|
||||||
{{.Org.DisplayName}}
|
{{.Org.DisplayName}}
|
||||||
<span class="org-visibility">
|
<span class="org-visibility">
|
||||||
@ -18,7 +18,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{if .RenderedDescription}}<div class="render-content markup">{{.RenderedDescription}}</div>{{end}}
|
{{if .RenderedDescription}}<div class="render-content markup tw-break-anywhere">{{.RenderedDescription}}</div>{{end}}
|
||||||
<div class="text light meta tw-mt-1">
|
<div class="text light meta tw-mt-1">
|
||||||
{{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
|
{{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
|
||||||
{{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}}
|
{{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}}
|
||||||
|
@ -93,11 +93,6 @@
|
|||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.organization #org-info {
|
|
||||||
overflow-wrap: anywhere;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-content.organization #org-info .ui.header {
|
.page-content.organization #org-info .ui.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user