From c3b341d945699263e6572ad2e7757dbc2e5eea86 Mon Sep 17 00:00:00 2001 From: apkd Date: Sun, 22 May 2016 16:21:05 +0200 Subject: [PATCH] Fix source display on mobile devices The raw/mobile/history buttons used to incorrectly overflow on mobile devices, obscuring the entire (!) source view. --- src/main/webapp/assets/common/css/gitbucket.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index a2774c19a..62af1a837 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -1950,6 +1950,11 @@ div.container.blame-container{ div.input-group>span.fork { display: none; } + /* allow wrapping on raw/mobile/history buttons */ + div.main-content>div.box-header>div.btn-group.pull-right + { + float: none !important; + } } /****************************************************************************/