Browse Source

improve mobile style

tags/v1.21.12.1
yan 5 years ago
parent
commit
2794267f42
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      custom/templates/datasets/index.tmpl
  2. +1
    -1
      custom/templates/explore/navbar.tmpl
  3. +2
    -2
      custom/templates/explore/repos.tmpl

+ 1
- 1
custom/templates/datasets/index.tmpl View File

@@ -9,7 +9,7 @@
{{template "datasets/dataset_list" .}}
{{template "base/paginate" .}}
</div>
<div class="ui sixteen wide mobile six wide tablet four wide computer column">
<div class="ui sixteen wide mobile six wide tablet three wide computer column">
{{template "explore/repo_right" .}}
</div>
</div>


+ 1
- 1
custom/templates/explore/navbar.tmpl View File

@@ -18,7 +18,7 @@
</div>
<!--平板、移动端-->

<div class="computer only two wide computer column">
<div class="computer only three wide computer column">
<div class="ui grid">
<div class="sixteen wide column ui secondary sticky pointing tabular vertical menu">
<a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore/repos">


+ 2
- 2
custom/templates/explore/repos.tmpl View File

@@ -6,12 +6,12 @@
<div class="ui container">
<div class="ui grid">
{{template "explore/navbar" .}}
<div class="ui sixteen wide mobile ten wide tablet ten wide computer column">
{{template "explore/repo_list" .}}
{{template "base/paginate" .}}
</div>
<div class="ui sixteen wide mobile six wide tablet four wide computer column">
<div class="ui sixteen wide mobile six wide tablet three wide computer column">
{{template "explore/repo_right" .}}
</div>
</div>


Loading…
Cancel
Save