Skip to content

Commit

Permalink
remove scale transition and instead make shadows more clear on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-sg committed Jan 8, 2025
1 parent 0555e98 commit 860d756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/features/collections/collections-grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ export class CollectionsGrid extends BtrixElement {
href=${this.navigate.isPublicPage
? `/${RouteNamespace.PublicOrgs}/${this.slug}/collections/${collection.id}`
: `/${RouteNamespace.PrivateOrgs}/${this.slug}/collections/view/${collection.id}`}
class="group block h-full rounded-lg transition-all hover:scale-[102%]"
class="group block h-full rounded-lg"
@click=${this.navigate.link}
>
<div
class="relative mb-4 rounded-lg shadow-md shadow-stone-600/10 ring-1 ring-stone-600/10 transition-shadow group-hover:shadow-sm"
class="relative mb-4 rounded-lg shadow-md shadow-stone-600/10 ring-1 ring-stone-600/10 transition group-hover:shadow-stone-800/20 group-hover:ring-stone-800/20"
>
<btrix-collection-thumbnail
src=${ifDefined(
Expand Down

0 comments on commit 860d756

Please sign in to comment.