Skip to content

Commit

Permalink
chore(cards): Add accessibility on enter key
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed Feb 7, 2024
1 parent 7e27e25 commit ef61083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[title]="record.title"
[tabIndex]="0"
(click)="mdSelect.emit(record)"
(keyup.enter)="mdSelect.emit(record)"
class="bg-gray-8 group flex flex-col gap-[9px] justify-between h-[110px] py-3 px-4 w-[330px] rounded-lg border border-gray-6 filter hover:drop-shadow-lg z-0"
><div class="flex justify-between">
<h1 class="font-bold text-[17px] line-clamp-1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[title]="record.title"
[tabIndex]="0"
(click)="mdSelect.emit(record)"
(keyup.enter)="mdSelect.emit(record)"
class="bg-gray-8 group flex flex-col justify-between relative h-40 p-4 w-[330px] rounded border border-gray-6 filter overflow-hidden cursor-pointer hover:drop-shadow-lg"
>
<h1 class="font-bold text-[17px] line-clamp-2">
Expand Down

0 comments on commit ef61083

Please sign in to comment.