# HG changeset patch # User domruf # Date 2017-10-28 18:39:04 # Node ID eee7674cef4126d3ad15754992ac1eb20f4587d8 # Parent 5a5398a5bf831d33808e0d6261a0516b27366cd2 less: prevent elements from overflowing panels diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -102,6 +102,12 @@ nav.navbar #logo > .navbar-brand > img { margin-top: -9px; margin-right: 5px; } +/* every direct child of a panel, that is not .panel-heading, should auto + * overflow to prevent overflowing of elements like text boxes and tables */ +.panel > :not(.panel-heading) { + overflow-x: auto; + min-height: 0.01%; +} /* language bars (summary page) */ #lang_stats .progress-bar { min-width: 15px; diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -111,6 +111,13 @@ nav.navbar #logo > .navbar-brand > img { margin-right: 5px; } +/* every direct child of a panel, that is not .panel-heading, should auto + * overflow to prevent overflowing of elements like text boxes and tables */ +.panel > :not(.panel-heading){ + overflow-x: auto; + min-height: 0.01%; +} + /* language bars (summary page) */ #lang_stats { .progress-bar {