diff options
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> |