Skip to content

Commit 91b5ca0

Browse files
committed
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 <art27@cantab.net>
1 parent a168609 commit 91b5ca0

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

web_src/less/_repository.less

+22-2
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,31 @@
352352
overflow: initial;
353353

354354
&.name {
355-
max-width: 150px;
355+
@media @mediaXl {
356+
max-width: 150px;
357+
}
358+
@media @mediaLg {
359+
max-width: 200px;
360+
}
361+
@media @mediaMd {
362+
max-width: 300px;
363+
}
364+
width: 33%;
365+
366+
max-width: calc(100vw - 200px);
356367
}
357368

358369
&.message {
359-
max-width: 400px;
370+
@media @mediaXl {
371+
max-width: 400px;
372+
}
373+
@media @mediaLg {
374+
max-width: 350px;
375+
}
376+
@media @mediaMd {
377+
max-width: 250px;
378+
}
379+
width: 66%;
360380
}
361381

362382
&.age {

0 commit comments

Comments
 (0)