diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-27 12:22:16 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-27 12:22:16 -0700 |
commit | 5d9d3b5985991167f53cc07ba3b33b560db9bcac (patch) | |
tree | c7b4eea7d350d8d7c3235375b2c87691d07c220b /python/fatcat_web/templates/entity_base.html | |
parent | 847304be39c01ab7ca82dbc81ef92c1459e0ed23 (diff) | |
download | fatcat-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.html | 5 |
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> |