mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 15:27:41 +00:00
Bought Button adjusted
This commit is contained in:
parent
b4cd04a11a
commit
54f869c7cd
3 changed files with 7 additions and 5 deletions
|
@ -44,9 +44,11 @@ const openUrl = (): void => {
|
|||
{{ item.description }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-row items-baseline space-x-2">
|
||||
<div
|
||||
class="mt-4 flex w-full flex-row flex-wrap-reverse items-baseline sm:mt-2"
|
||||
>
|
||||
<ButtonBase
|
||||
class="mt-4 text-xs sm:mt-2"
|
||||
class="mr-4 mt-4 text-xs sm:mt-0"
|
||||
:icon="IconCart"
|
||||
@click="$emit('bought')"
|
||||
data-test="bought-button"
|
||||
|
@ -58,7 +60,7 @@ const openUrl = (): void => {
|
|||
target="_blank"
|
||||
rel="noopener"
|
||||
data-test="link"
|
||||
class="mt-1 flex w-fit flex-row items-center text-sm text-stone-500 dark:text-white/60"
|
||||
class="flex w-fit flex-row items-center text-sm text-stone-500 dark:text-white/60"
|
||||
>
|
||||
<IconLink class="mr-1 h-4 w-4 fill-stone-500 dark:fill-white/60" />
|
||||
<span>{{
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
"text": "Produktseite öffnen"
|
||||
},
|
||||
"bought-button": {
|
||||
"text": "Gekauft"
|
||||
"text": "Als gekauft markieren"
|
||||
}
|
||||
},
|
||||
"form-wishlist": {
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
"text": "Open product page"
|
||||
},
|
||||
"bought-button": {
|
||||
"text": "Bought"
|
||||
"text": "Mark as purchased"
|
||||
}
|
||||
},
|
||||
"form-wishlist": {
|
||||
|
|
Loading…
Add table
Reference in a new issue