Skip to content

Commit 0ead559

Browse files
author
Gusted
committed
Fix repo buttons overflowing
- Don't show SVG(major cause for taking up space and being shown as "column"). - Allow it to be a new columnif the number is too big.
1 parent bed6577 commit 0ead559

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

web_src/less/_repository.less

+9-1
Original file line numberDiff line numberDiff line change
@@ -2965,8 +2965,11 @@ tbody.commit-list {
29652965
}
29662966

29672967
.repo-buttons {
2968-
display: flex;
29692968
align-items: center;
2969+
display: flex;
2970+
flex-direction: row;
2971+
flex-wrap: wrap;
2972+
word-break: keep-all;
29702973

29712974
@media @mediaSm {
29722975
margin-top: 1em;
@@ -3011,6 +3014,11 @@ tbody.commit-list {
30113014
pointer-events: none !important;
30123015
}
30133016
}
3017+
@media @mediaSm {
3018+
.svg {
3019+
display: none;
3020+
}
3021+
}
30143022
}
30153023

30163024
.tag-code {

0 commit comments

Comments
 (0)