Skip to content

Commit

Permalink
Merge remote-tracking branch 'giteaofficial/main'
Browse files Browse the repository at this point in the history
* giteaofficial/main:
  Add links to owner home page in explore (go-gitea#28341)
  Apply min-height in wiki only on preview pane (go-gitea#28687)
  • Loading branch information
zjjhot committed Jan 5, 2024
2 parents 5fe699d + dd56933 commit d8b40bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions templates/explore/repo_list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
<div class="flex-item-main">
<div class="flex-item-header">
<div class="flex-item-title">
<a class="text primary name" href="{{.Link}}">
{{if or $.PageIsExplore $.PageIsProfileStarList}}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}
</a>
{{if and (or $.PageIsExplore $.PageIsProfileStarList) .Owner}}
<a class="text primary name" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>/
{{end}}
<a class="text primary name" href="{{.Link}}">{{.Name}}</a>
<span class="label-list">
{{if .IsArchived}}
<span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span>
Expand Down
5 changes: 4 additions & 1 deletion web_src/css/repo/wiki.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

.repository.wiki .markup {
overflow: visible;
min-height: 340px;
}

.repository.wiki .markup[data-tab-panel="markdown-previewer"] {
min-height: 340px; /* This height matches the markdown editor's height */
}

.repository.wiki .wiki-content-parts .markup {
Expand Down

0 comments on commit d8b40bf

Please sign in to comment.