Skip to content

Commit

Permalink
teams: smoother list buttons (fixes #8054) (#8066)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
jessewashburn and dogi authored Jan 9, 2025
1 parent 736dc85 commit 1c0f87c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.48",
"version": "0.16.49",
"myplanet": {
"latest": "v0.21.81",
"min": "v0.20.81"
Expand Down
20 changes: 19 additions & 1 deletion src/app/teams/teams.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,28 @@
overflow: hidden;
}

@media screen and (max-width: #{$screen-sm}) {
.mat-cell button, .mat-cell div button[mat-raised-button] {
width: 150px;
text-align: center;
padding: 8px 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

@media (max-width: $screen-sm) {
mat-cell button {
min-width: 0;
padding: 0 3px;
}

.mat-cell button, .mat-cell div button[mat-raised-button] {
width: 50px;
}

.button-container {
flex-direction: column;
align-items: flex-start;
}
}
}

0 comments on commit 1c0f87c

Please sign in to comment.