Skip to content

Commit

Permalink
Fix repo buttons overflowing
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
Gusted committed Apr 27, 2022
1 parent bed6577 commit 0ead559
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -2965,8 +2965,11 @@ tbody.commit-list {
}

.repo-buttons {
display: flex;
align-items: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
word-break: keep-all;

@media @mediaSm {
margin-top: 1em;
Expand Down Expand Up @@ -3011,6 +3014,11 @@ tbody.commit-list {
pointer-events: none !important;
}
}
@media @mediaSm {
.svg {
display: none;
}
}
}

.tag-code {
Expand Down

0 comments on commit 0ead559

Please sign in to comment.