mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-07 20:28:20 +02:00
[GITEA] [UI] Wiki: Move TOC and Sidebar to top on Mobile
Related issue: #499
This moves the TOC and the Sidebar to the top when a mobile phone is
used. This behavior is basically the same as the one on the Home
page.
(cherry picked from commit ca3c471537
)
This commit is contained in:
parent
1141eb7b6f
commit
2ce79687eb
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@
|
||||||
<p>{{.FormatWarning}}</p>
|
<p>{{.FormatWarning}}</p>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="ui gt-mt-0 {{if or .sidebarPresent .sidebarTocContent}}grid equal width{{end}}">
|
<div class="ui gt-mt-0 {{if or .sidebarPresent .sidebarTocContent}}mobile reversed stackable grid equal width{{end}}">
|
||||||
<div class="ui {{if or .sidebarPresent .sidebarTocContent}}eleven wide column{{else}}gt-ml-0{{end}} segment markup wiki-content-main">
|
<div class="ui {{if or .sidebarPresent .sidebarTocContent}}eleven wide column{{else}}gt-ml-0{{end}} segment markup wiki-content-main">
|
||||||
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}}
|
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}}
|
||||||
{{.content | Safe}}
|
{{.content | Safe}}
|
||||||
|
|
Loading…
Reference in a new issue