From 1a28bfc76537a8480ab5d17ddb1c28dee59f5a52 Mon Sep 17 00:00:00 2001 From: Mathieu Coussens Date: Fri, 28 Feb 2020 16:12:00 +0100 Subject: [PATCH 1/2] Fix chrome not making a cell 100% wide when using min-width. --- app/assets/stylesheets/components/code_listing.css.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/code_listing.css.less b/app/assets/stylesheets/components/code_listing.css.less index 6ee2808338..a1e3455ce5 100644 --- a/app/assets/stylesheets/components/code_listing.css.less +++ b/app/assets/stylesheets/components/code_listing.css.less @@ -79,7 +79,7 @@ .annotation-set { .annotation-cell { - min-width: 100%; + width: 100%; .annotation { font-family: @font-family-monospace; From af6f43b0b24fcf13f809470bcb21fefe60de0e40 Mon Sep 17 00:00:00 2001 From: Mathieu Coussens Date: Mon, 2 Mar 2020 12:52:54 +0100 Subject: [PATCH 2/2] Fix code not being 100% width --- app/assets/stylesheets/components/code_listing.css.less | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/components/code_listing.css.less b/app/assets/stylesheets/components/code_listing.css.less index a1e3455ce5..659067e9f4 100644 --- a/app/assets/stylesheets/components/code_listing.css.less +++ b/app/assets/stylesheets/components/code_listing.css.less @@ -26,6 +26,7 @@ } .rouge-code { + width: 100%; padding-left: 5px; user-select: text; white-space: pre-wrap;