Bought Button adjusted

This commit is contained in:
Benny 2022-06-30 17:17:32 +02:00
parent b4cd04a11a
commit 54f869c7cd
3 changed files with 7 additions and 5 deletions

View file

@ -44,9 +44,11 @@ const openUrl = (): void => {
{{ item.description }} {{ item.description }}
</p> </p>
</div> </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 <ButtonBase
class="mt-4 text-xs sm:mt-2" class="mr-4 mt-4 text-xs sm:mt-0"
:icon="IconCart" :icon="IconCart"
@click="$emit('bought')" @click="$emit('bought')"
data-test="bought-button" data-test="bought-button"
@ -58,7 +60,7 @@ const openUrl = (): void => {
target="_blank" target="_blank"
rel="noopener" rel="noopener"
data-test="link" 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" /> <IconLink class="mr-1 h-4 w-4 fill-stone-500 dark:fill-white/60" />
<span>{{ <span>{{

View file

@ -130,7 +130,7 @@
"text": "Produktseite öffnen" "text": "Produktseite öffnen"
}, },
"bought-button": { "bought-button": {
"text": "Gekauft" "text": "Als gekauft markieren"
} }
}, },
"form-wishlist": { "form-wishlist": {

View file

@ -130,7 +130,7 @@
"text": "Open product page" "text": "Open product page"
}, },
"bought-button": { "bought-button": {
"text": "Bought" "text": "Mark as purchased"
} }
}, },
"form-wishlist": { "form-wishlist": {