# HG changeset patch # User domruf # Date 2018-02-20 20:45:34 # Node ID e420e389d44cadee8fa680b730a671b5fdf54a49 # Parent 02aef1484695c0dc68f0153d6a2d8b44ed3a6060 less: shrink or hide less important changelog columns on smaller screens 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 @@ -789,15 +789,35 @@ div.comment-prev-next-links div.next-com } .author { width: 200px; + @media (max-width: @screen-sm-max) { + width: 120px; + } + @media (max-width: @screen-xs-max) { + width: 20px; + /* keep gravatar but hide name on tiny screens to give important columns more room */ + span { + .hidden; + } + } } .hash { .small; width: 110px; + @media (max-width: @screen-xs-max) { + width: 48px; + } } .date { .small; width: 100px; } + /* hide on small screens to give important columns more room */ + .status, + .expand_commit, + .comments, + .extra-container { + .hidden-xs; + } .mid > .log-container { position: relative; overflow: hidden;