Skip to content

Commit

Permalink
April issues pt3 (#109)
Browse files Browse the repository at this point in the history
closes #108
closes #101

---------

Co-authored-by: kaggl <[email protected]>
  • Loading branch information
kaggl and kaggl authored Apr 25, 2024
1 parent 2410350 commit 736e117
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: 20
- name: Install dependencies
run: npm install -g pnpm && pnpm install
run: npm install -g pnpm@8 && pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Build app
Expand Down
5 changes: 4 additions & 1 deletion components/info-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import { Menu, MenuButton, MenuItem, MenuItems } from "@headlessui/vue";
</MenuButton>
</ClientOnly>
<MenuTransition>
<MenuItems as="div" class="absolute right-0 rounded border bg-gray-50 p-2 shadow-lg">
<MenuItems
as="div"
class="absolute w-max max-w-[270px] translate-x-[-45%] rounded border bg-gray-50 p-2 shadow-lg md:right-0 md:max-w-screen-lg md:translate-x-0"
>
<MenuItem>
<slot name="content" />
</MenuItem>
Expand Down
13 changes: 0 additions & 13 deletions pages/detail/persons/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ useHead({
isEmpty([
...data.details.data?.alternative_first_names,
...data.details.data?.alternative_last_names,
...data.details.data?.married_names,
])
"
>
Expand Down Expand Up @@ -236,18 +235,6 @@ useHead({
{{ name }}
</div>
</div>
<div v-if="!isEmpty(data.details.data.married_names)">
<div class="font-semibold">
{{ t("collection-keys.viecpro_persons.married_names") }}
</div>
<div
v-for="name in data.details.data.married_names"
:key="name.name"
class="border-t p-1 pl-0"
>
{{ name.name }}
</div>
</div>
</div>
</GenericDisclosure>
<DetailDisclosure
Expand Down

0 comments on commit 736e117

Please sign in to comment.