From f0468bdf86c1311811fda0a0c340296e62b8f64b Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 28 Oct 2022 21:23:37 +0200 Subject: [proxy] don't add scrollbars when not strictly needed --- src/hydrilla/common_jinja_templates/include/item_list_style.css.jinja | 2 +- src/hydrilla/proxy/web_ui/templates/hkt_mitm_it_base.html.jinja | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hydrilla/common_jinja_templates/include/item_list_style.css.jinja b/src/hydrilla/common_jinja_templates/include/item_list_style.css.jinja index 063cd01..66fcf10 100644 --- a/src/hydrilla/common_jinja_templates/include/item_list_style.css.jinja +++ b/src/hydrilla/common_jinja_templates/include/item_list_style.css.jinja @@ -32,7 +32,7 @@ ul.item-list > li { ul.item-list > li > :only-child { display: block; padding: 5px; - overflow-x: scroll; + overflow-x: auto; border-bottom: 2px solid #999; } diff --git a/src/hydrilla/proxy/web_ui/templates/hkt_mitm_it_base.html.jinja b/src/hydrilla/proxy/web_ui/templates/hkt_mitm_it_base.html.jinja index 79d85df..d12dc57 100644 --- a/src/hydrilla/proxy/web_ui/templates/hkt_mitm_it_base.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/hkt_mitm_it_base.html.jinja @@ -34,7 +34,7 @@ code in a proprietary work, I am not going to enforce this in court. margin: 0; padding: 0; border-bottom: 2px solid #444; - overflow-x: scroll; + overflow-x: auto; } li.nav-entry, li.nav-separator { -- cgit v1.2.3