Skip to content

Commit

Permalink
feat: style load more button
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Dec 14, 2023
1 parent 63dd5d1 commit 5705259
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>{{cat.formattedDateShort}} <span class="weekday">{{ cat.formattedWeekday }}<
</ng-container>

<div class="text-center pb-5" *ngIf="!eventsFilterService.isSearching">
<button class="clndr load-next-page" (click)="eventsFilterService.loadNextPage()"
<button class="clndr accent load-next-page" (click)="eventsFilterService.loadNextPage()"
*ngIf="eventsFilterService.hasMorePages">
{{ 'EVENT_LIST.LOAD_MORE' | translate }}
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ li app-event-card {
.load-next-page {
margin: 0;
padding: 1rem 3rem;
border-radius: 5px;
border: 1px solid var(--accent);
color: var(--accent);
font-weight: normal;
}

@include media-breakpoint-up(lg) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>{{cat.formattedDateShort}}</h2>
</ng-container>

<div class="text-center pb-5" *ngIf="!eventsFilterService.isSearching">
<button class="clndr load-next-page" (click)="eventsFilterService.loadNextPage()"
<button class="clndr accent load-next-page" (click)="eventsFilterService.loadNextPage()"
*ngIf="eventsFilterService.hasMorePages">{{ 'EVENT_LIST.LOAD_MORE' | translate }}
</button>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ li {
.load-next-page {
margin: 0;
padding: 1rem 3rem;
border-radius: 5px;
border: 1px solid var(--accent);
color: var(--accent);
font-weight: normal;
}

0 comments on commit 5705259

Please sign in to comment.