Skip to content

Commit

Permalink
feat: responsive panel account
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraLpresta committed Sep 22, 2023
1 parent c6e04e5 commit 7f336bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions src/components/panel/AccountPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@
{{ t('psaccounts.account.title', shopsInContext.length) }}
</p>
</div>
<div
class="acc-flex acc-flex-col acc-items-center md:acc-flex-row"
>
<div class="acc-gap-4 acc-flex acc-flex-wrap md:acc-justify-normal acc-justify-center md:acc-flex-row acc-flex-col">
<AccountShopLinkMessage
class="md:acc-mr-2"
class="acc-flex-1 acc-min-w-[247px]"
:shops-in-context="shopsInContext"
:shop-context="shopContext"
/>
<AccountLinkToUi
v-if="!shopsWithoutUrl.length"
class="acc-mt-2 md:acc-mt-0"
:accounts-ui-url="accountsUiUrl"
:app="app"
:is-super-admin="isSuperAdmin"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="acc-flex acc-space-x-4"
class="acc-gap-2 acc-items-center acc-flex"
>
<puik-button
v-if="shops.length"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<div
class="acc-flex acc-flex-col acc-flex-grow acc-items-center md:acc-flex-row"
class="acc-flex"
>
<img
:src="PsLogo"
class="acc-w-11 acc-h-11 md:acc-mr-3"
class="acc-w-11 acc-h-11 acc-mr-4"
>
<div
class="acc-mt-2 puik-body-default acc-text-center acc-align-middle md:acc-mt-0 md:acc-text-left"
class="acc-mt-2 puik-body-default"
data-testid="account-shop-link-message"
>
<template v-if="linkedShops.length">
Expand Down

0 comments on commit 7f336bb

Please sign in to comment.