Skip to content

Commit

Permalink
Clarify GBAPI #282
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Feb 14, 2025
1 parent d125f2a commit 288be7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { ActivatedRoute, Params } from '@angular/router';
import { SortDirection } from '@/core/models/sort-direction';
import { fa } from "@/services/font-awesome.service";
import { RouterService } from '@/services/router.service';
import { UnsubscriberService } from '@/services/unsubscriber.service';
import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';

@Component({
selector: 'app-sort-header',
template: `<div class="component-container cursor-pointer d-flex w-100 justify-content-center align-items-center" [class.active]="isActive" (click)="handleClick()">
<div class="content-container">
<ng-content></ng-content>
</div>
<fa-icon *ngIf="isActive" class="d-block ml-2" size="sm" [icon]="currentSortDirection == 'asc' ? fa.caretUp : fa.caretDown"></fa-icon>
<fa-icon class="d-block ml-2" [class.text-muted]="!isActive" size="xs" [icon]="!isActive || currentSortDirection == 'asc' ? fa.caretUp : fa.caretDown"></fa-icon>
</div>`,
styleUrls: ['./sort-header.component.scss']
})
Expand Down
6 changes: 5 additions & 1 deletion projects/gameboard-ui/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ app-root {
}

/* APP UTILITY CLASSES */

.font-fixed-width {
font-family: monospace;
}
Expand Down Expand Up @@ -318,6 +317,11 @@ table.gameboard-table {
background-color: theme-color("success");
}

.btn.focus,
.btn:focus {
box-shadow: none !important;
}

.form-group {
padding: 1.5rem;
margin-bottom: 0.5rem;
Expand Down

0 comments on commit 288be7e

Please sign in to comment.