Skip to content

Commit 2196a44

Browse files
committed
revert older approach changes
1 parent c0258f6 commit 2196a44

3 files changed

Lines changed: 1 addition & 17 deletions

File tree

src/app/courses/courses.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,3 @@ planet-courses {
4242
}
4343
}
4444
}
45-
.expand-button-container {
46-
width: 100%;
47-
display: flex;
48-
justify-content: center;
49-
align-items: center;
50-
padding: 0.5rem 0;
51-
flex-shrink: 0;
52-
}

src/app/news/news-list-item.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
</div>
6767
</ng-container>
6868
</div>
69-
<div *ngIf="showExpand" class="full-width" (click)="showLess = !showLess">
69+
<div *ngIf="showExpand" class="full-width" style="text-align: center;" (click)="showLess = !showLess">
7070
<button mat-icon-button>
7171
<mat-icon>{{showLess ? 'keyboard_arrow_down' : 'keyboard_arrow_up'}}</mat-icon>
7272
</button>

src/app/news/news-list-item.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,3 @@ mat-card-content {
5252
text-overflow: ellipsis;
5353
white-space: nowrap;
5454
}
55-
.full-width {
56-
width: 100%;
57-
display: flex;
58-
justify-content: center;
59-
align-items: center;
60-
padding: 0.5rem 0;
61-
flex-shrink: 0;
62-
}

0 commit comments

Comments
 (0)