summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_base.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-27 12:22:16 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-27 12:22:16 -0700
commit5d9d3b5985991167f53cc07ba3b33b560db9bcac (patch)
treec7b4eea7d350d8d7c3235375b2c87691d07c220b /python/fatcat_web/templates/entity_base.html
parent847304be39c01ab7ca82dbc81ef92c1459e0ed23 (diff)
downloadfatcat-5d9d3b5985991167f53cc07ba3b33b560db9bcac.tar.gz
fatcat-5d9d3b5985991167f53cc07ba3b33b560db9bcac.zip
webface UI tweaks, mostly for mobile
Diffstat (limited to 'python/fatcat_web/templates/entity_base.html')
-rw-r--r--python/fatcat_web/templates/entity_base.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html
index 5f9f9f46..b846614d 100644
--- a/python/fatcat_web/templates/entity_base.html
+++ b/python/fatcat_web/templates/entity_base.html
@@ -57,7 +57,9 @@
<br>
{% endif %}
{% endif %}
- <div class="ui container" style="min-width: 40em;">
+ <!-- these nested div make tabs scrollable on mobile -->
+ <div class="ui container" style="min-width: 100%; overflow-x: auto;">
+ <div style="min-width: 40em;">
<div class="ui small tabular compact menu">
{{ entity_tab("overview", "Overview", "") }}
{% if entity_type == "release" %}
@@ -77,6 +79,7 @@
</div>
{% endif %}
</div>
+ </div>
</div>
</div>
</div>