Skip to content

Commit

Permalink
courses: smoother toolbar (fixes #7878) (#7904)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Gavinp14 and dogi authored Dec 9, 2024
1 parent b550233 commit 54c9b79
Show file tree
Hide file tree
Showing 3 changed files with 6 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.15.90",
"version": "0.15.91",
"myplanet": {
"latest": "v0.21.29",
"min": "v0.20.29"
Expand Down
2 changes: 1 addition & 1 deletion src/app/courses/view-courses/courses-view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3 class="margin-lr-3 ellipsis-title">{{courseDetail.courseTitle}}</h3>
Leave
</button>
</ng-container>
<button mat-raised-button color="accent" (click)="viewStep()" i18n [disabled]="!courseDetail?.steps?.length">View Step</button>
<button class="view-step-button" mat-raised-button color="accent" (click)="viewStep()" i18n [disabled]="!courseDetail?.steps?.length">View Step</button>
</ng-template>

<div class="view-container view-full-height">
Expand Down
4 changes: 4 additions & 0 deletions src/app/courses/view-courses/courses-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
margin-left: 8px;
}

.view-step-button{
flex-shrink: 0;
}

@media (max-width: $screen-sm) {
.course-container {
grid-template-columns: 1fr;
Expand Down

0 comments on commit 54c9b79

Please sign in to comment.