feat: moved copy sha & browse history into ellipsis in mobile view

- added ellipsis under div tag and moved Copy Sha & Browse History of repo into the ellipsis dropdown
- added a separate div tag for this ellipsis, but it's hidden in desktop but visible only on mobile view
This commit is contained in:
iamyaash 2025-06-19 21:36:47 +05:30
commit 574be03294
2 changed files with 37 additions and 3 deletions

View file

@ -2777,6 +2777,7 @@ tbody.commit-list {
grid-template-columns: minmax(8ch, 15%) 1fr minmax(20ch, 1%) minmax(10ch, 10%) auto;
align-items: center;
.author {margin-right: 10%}
.mobile-btn {display: none;} /*hiding the button in desktop view, only accessible in mobile view*/
}
@media (max-width: 640px) {
@ -2789,13 +2790,16 @@ tbody.commit-list {
grid-column: 1;
}
.commit-ui-redesign .btn {
.commit-ui-redesign .mobile-btn {
grid-row: 1;
grid-column: 2;
justify-self: end;
padding-inline: 0.5rem;
display: flex;
}
.commit-ui-redesign .btn { display: none;} /* manually hiding it, but we need to write this in a better way, */
.commit-ui-redesign .message {
grid-row: 2;
grid-column: 1 / span 2;