From 91b5ca007e5007eb73448854d11d81fb2694574f Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Tue, 5 Jul 2022 10:21:04 +0100 Subject: [PATCH 1/2] Adjust max-widths for the repository file table Adjust the max-widths for the repository file table to allow for nicer resizing of the names and commit messages. Fix #20040 Signed-off-by: Andrew Thornton --- web_src/less/_repository.less | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index bc1affb7703f0..daf55317397b4 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -352,11 +352,31 @@ overflow: initial; &.name { - max-width: 150px; + @media @mediaXl { + max-width: 150px; + } + @media @mediaLg { + max-width: 200px; + } + @media @mediaMd { + max-width: 300px; + } + width: 33%; + + max-width: calc(100vw - 200px); } &.message { - max-width: 400px; + @media @mediaXl { + max-width: 400px; + } + @media @mediaLg { + max-width: 350px; + } + @media @mediaMd { + max-width: 250px; + } + width: 66%; } &.age { From ee62044ab4441fb35d09c93a1f2d7e37cedebb88 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Tue, 5 Jul 2022 11:56:09 +0100 Subject: [PATCH 2/2] can increase name space on mediaSm to 100vw-140px Signed-off-by: Andrew Thornton --- web_src/less/_repository.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index daf55317397b4..7bbd412b6198d 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -363,7 +363,7 @@ } width: 33%; - max-width: calc(100vw - 200px); + max-width: calc(100vw - 140px); } &.message {