Skip to content

Commit

Permalink
Adjust max-widths for the repository file table
Browse files Browse the repository at this point in the history
Adjust the max-widths for the repository file table to allow for nicer
resizing of the names and commit messages.

Fix go-gitea#20040

Signed-off-by: Andrew Thornton <[email protected]>
  • Loading branch information
zeripath committed Jul 5, 2022
1 parent a168609 commit 91b5ca0
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 91b5ca0

Please sign in to comment.