# HG changeset patch # User domruf # Date 1509208744 -7200 # Node ID ddba357cb1e3739cb1117a50ca663b2d6d16476b # Parent c52f18a1c2c7eee98a2f28d70247c8baca720903 less: prevent elements from overflowing panels - add horizontal scrollbar when necessary diff -r c52f18a1c2c7 -r ddba357cb1e3 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Sat Oct 28 18:33:56 2017 +0200 +++ b/kallithea/public/css/style.css Sat Oct 28 18:39:04 2017 +0200 @@ -102,6 +102,12 @@ #lang_stats td { padding: 1px 0 !important; } +/* every direct child of a main panel, that is not .panel-heading, should auto + * overflow to prevent overflowing of elements like text boxes and tables */ +#main > .panel > :not(.panel-heading) { + overflow-x: auto; + min-height: 0.01%; +} .form-group > label { float: left; } diff -r c52f18a1c2c7 -r ddba357cb1e3 kallithea/public/less/style.less --- a/kallithea/public/less/style.less Sat Oct 28 18:33:56 2017 +0200 +++ b/kallithea/public/less/style.less Sat Oct 28 18:39:04 2017 +0200 @@ -113,6 +113,13 @@ } } +/* every direct child of a main panel, that is not .panel-heading, should auto + * overflow to prevent overflowing of elements like text boxes and tables */ +#main > .panel > :not(.panel-heading) { + overflow-x: auto; + min-height: 0.01%; +} + .form-group > label { float: left; }