mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
Backport #20243 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> ## Screenshots ## MediaXL  ## MediaLg  ## MediaMd  ## MediaSm  Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
01a4fb0ae6
commit
c88a59bb23
@ -352,12 +352,32 @@
|
|||||||
overflow: initial;
|
overflow: initial;
|
||||||
|
|
||||||
&.name {
|
&.name {
|
||||||
|
@media @mediaXl {
|
||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
}
|
}
|
||||||
|
@media @mediaLg {
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
@media @mediaMd {
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
width: 33%;
|
||||||
|
|
||||||
|
max-width: calc(100vw - 140px);
|
||||||
|
}
|
||||||
|
|
||||||
&.message {
|
&.message {
|
||||||
|
@media @mediaXl {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
|
@media @mediaLg {
|
||||||
|
max-width: 350px;
|
||||||
|
}
|
||||||
|
@media @mediaMd {
|
||||||
|
max-width: 250px;
|
||||||
|
}
|
||||||
|
width: 66%;
|
||||||
|
}
|
||||||
|
|
||||||
&.age {
|
&.age {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
|
Loading…
Reference in New Issue
Block a user