Mercurial > kallithea
changeset 7039:eee7674cef41
less: prevent elements from overflowing panels
author | domruf <dominikruf@gmail.com> |
---|---|
date | Sat, 28 Oct 2017 18:39:04 +0200 |
parents | 5a5398a5bf83 |
children | 22dfe2da4fc3 |
files | kallithea/public/css/style.css kallithea/public/less/style.less |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Fri Oct 27 22:41:10 2017 +0200 +++ b/kallithea/public/css/style.css Sat Oct 28 18:39:04 2017 +0200 @@ -102,6 +102,12 @@ 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;
--- a/kallithea/public/less/style.less Fri Oct 27 22:41:10 2017 +0200 +++ b/kallithea/public/less/style.less Sat Oct 28 18:39:04 2017 +0200 @@ -111,6 +111,13 @@ 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 {