Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Wrap long names on phones
A ref label, email address or path longer than a phone screen pushed main.content sideways by up to 340px. In the log and summary the label also widened the shared table until the age column left the screen. Below 640px a label becomes an inline-block capped at its cell, so it still moves to the next line whole and breaks inside only when it is wider than the cell. line-height: normal keeps the box the height of the inline label it replaces. That holds exactly in Chromium and Firefox, while WebKit's box grows by a third of a pixel at each edge. Commit details and diffstat paths break at the cell edge, as listing cells already do.
Diffstat (limited to 'assets/cgit.css')
-rw-r--r--assets/cgit.css19
1 file changed, 19 insertions, 0 deletions