From 8df59c01d5d3d660dcff4251a0194092b8084337 Mon Sep 17 00:00:00 2001 From: Florian Wiech Date: Thu, 26 Apr 2018 23:00:55 +0200 Subject: [PATCH] public/css: fix file view responsiveness (#5169) --- public/less/_repository.less | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/public/less/_repository.less b/public/less/_repository.less index 8fcb21065..6090fb9ab 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -422,13 +422,18 @@ table { width: 100%; + tbody { + tr { + padding: 0 !important; + } + } } .lines-num { vertical-align: top; text-align: right; color: #999; background: #f5f5f5; - width: 1%; + width: 42px; span { line-height: 20px; @@ -439,7 +444,8 @@ } .lines-num, .lines-code { - padding: 0; + display: table-cell !important; + padding: 0 !important; pre, ol, .hljs {