diff --git a/e2e/search.spec.ts b/e2e/search.spec.ts index 9b931cd..9fd0fb4 100644 --- a/e2e/search.spec.ts +++ b/e2e/search.spec.ts @@ -38,7 +38,9 @@ test.describe('search', () => { test('should select a source', async ({ page }) => { await page.getByText('Fake-Collection').click(); - await expect(page.getByText('fake collection x')).toBeVisible(); + // selected pill + its remove (×) button, labelled "Effacer" + await expect(page.getByText('fake collection')).toBeVisible(); + await expect(page.getByRole('button', { name: 'Effacer', exact: true })).toBeVisible(); await expect(page.getByLabel('fake-collection').locator('span')).toBeChecked(); }); }); diff --git a/public/terms_en.md b/public/terms_en.md index 46829c3..2d54f0f 100644 --- a/public/terms_en.md +++ b/public/terms_en.md @@ -1,4 +1,4 @@ -## **Privacy Policy – WeLearn** +## **WeLearn Privacy Policy** ### **1\. Who are we?** diff --git a/public/terms_fr.md b/public/terms_fr.md index edc1c65..50cbb24 100644 --- a/public/terms_fr.md +++ b/public/terms_fr.md @@ -1,4 +1,4 @@ -## **Politique de confidentialité – WeLearn** +## **Politique de confidentialité de WeLearn** ### **1\. Qui sommes-nous ?** diff --git a/src/App.vue b/src/App.vue index 86464fb..d4f522b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -60,5 +60,7 @@ onMounted(async () => { .fullscreen { width: 100vw; height: 100vh; + /* dvh = height actually visible on phones (address bar shown); 100vh is taller there and lets the page scroll the nav away */ + height: 100dvh; } diff --git a/src/assets/base.css b/src/assets/base.css index 93be93f..bdad0bc 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -144,6 +144,7 @@ tbody { } body { height: 100vh; + height: 100dvh; color: var(--neutral-100); background: var(--neutral-0); diff --git a/src/assets/logo-symbol.png b/src/assets/logo-symbol.png new file mode 100644 index 0000000..45f23f2 Binary files /dev/null and b/src/assets/logo-symbol.png differ diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index 3d4e44a..85acb7e 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -1,7 +1,9 @@