Skip to content

Commit

Permalink
fix: ring instead of border around add to wishlist button (#2836)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Freisler <[email protected]>
  • Loading branch information
FRSgit authored Jun 16, 2023
1 parent 3ab39a2 commit fad8536
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function ProductCardVertical() {
variant="tertiary"
size="sm"
square
className="absolute bottom-0 right-0 mr-2 mb-2 bg-white border border-neutral-200 !rounded-full"
className="absolute bottom-0 right-0 mr-2 mb-2 bg-white ring-1 ring-inset ring-neutral-200 !rounded-full"
aria-label="Add to wishlist"
>
<SfIconFavorite size="sm" />
Expand Down
2 changes: 1 addition & 1 deletion apps/preview/next/pages/showcases/ProductSlider/Basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function GalleryVertical() {
{products.map(({ id, name, price, img }) => (
<div
key={id}
className="first:ms-auto last:me-auto border border-neutral-200 shrink-0 rounded-md hover:shadow-lg w-[148px] lg:w-[192px]"
className="first:ms-auto last:me-auto ring-1 ring-inset ring-neutral-200 shrink-0 rounded-md hover:shadow-lg w-[148px] lg:w-[192px]"
>
<div className="relative">
<SfLink href="#">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
variant="tertiary"
size="sm"
square
class="absolute bottom-0 right-0 mr-2 mb-2 bg-white border border-neutral-200 !rounded-full"
class="absolute bottom-0 right-0 mr-2 mb-2 bg-white ring-1 ring-inset ring-neutral-200 !rounded-full"
aria-label="Add to wishlist"
>
<SfIconFavorite size="sm" />
Expand Down
2 changes: 1 addition & 1 deletion apps/preview/nuxt/pages/showcases/ProductSlider/Basic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
variant="tertiary"
size="sm"
square
class="absolute bottom-0 right-0 mr-2 mb-2 bg-white border border-neutral-200 !rounded-full"
class="absolute bottom-0 right-0 mr-2 mb-2 bg-white ring-1 ring-inset ring-neutral-200 !rounded-full"
aria-label="Add to wishlist"
>
<SfIconFavorite size="sm" />
Expand Down

0 comments on commit fad8536

Please sign in to comment.