mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-19 17:25:55 +00:00
Remove fomantic ".link" selector and styles (#23888)
It's difficult to play with Fomantic's ".link" selector&styles, and it doesn't bring any real benefit. Instead, it sometimes introduces regressions (because of the `:not` selector, really difficult to fine-tune). Regression: <details>  </details> After this PR, there is no ".link" in code anymore. We do not need to play the overwriting and `:not()` game anymore.    
This commit is contained in:
parent
e351a26ca6
commit
5115ffa90c
5 changed files with 11 additions and 57 deletions
|
@ -5,18 +5,12 @@
|
|||
<h2 class="ui dividing header">
|
||||
{{.locale.Tr "repo.forks"}}
|
||||
</h2>
|
||||
<div class="ui list">
|
||||
{{range .Forks}}
|
||||
<div class="item">
|
||||
{{avatar $.Context .Owner}}
|
||||
<div class="link">
|
||||
<a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
|
||||
/
|
||||
<a href="{{.Link}}">{{.Name}}</a>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{range .Forks}}
|
||||
<div class="gt-df gt-ac gt-py-3">
|
||||
<span class="gt-mr-2">{{avatar $.Context .Owner}}</span>
|
||||
<a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / <a href="{{.Link}}">{{.Name}}</a>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
{{template "base/paginate" .}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue