Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix app layout issues (#1257)

Zack Krida19b9864068c2
diff --git a/src/components/VAudioTrack/VWaveform.vue b/src/components/VAudioTrack/VWaveform.vue
index 3f01967de..f877ecf26 100644
--- a/src/components/VAudioTrack/VWaveform.vue
+++ b/src/components/VAudioTrack/VWaveform.vue
@@ -90,7 +90,7 @@
<!-- Focus bar -->
<div
v-if="isInteractive"
- class="focus-indicator hidden absolute z-30 top-0 flex flex-col items-center justify-between bg-black h-full"
+ class="focus-indicator hidden absolute z-20 top-0 flex flex-col items-center justify-between bg-black h-full"
:style="{ width: `${barWidth}px`, left: `${progressBarWidth}px` }"
>
<div
diff --git a/src/components/VFilters/VSearchGridFilter.vue b/src/components/VFilters/VSearchGridFilter.vue
index 57a47e59d..4f04e7d4a 100644
--- a/src/components/VFilters/VSearchGridFilter.vue
+++ b/src/components/VFilters/VSearchGridFilter.vue
@@ -2,7 +2,7 @@
<section
id="filters"
aria-labelledby="filters-heading"
- class="filters py-8 px-10 min-h-full md:bg-dark-charcoal-06"
+ class="filters py-8 px-10"
>
<div class="flex items-center justify-between mt-2 mb-6">
<h4 id="filters-heading" class="text-sr font-semibold py-2 uppercase">
@@ -109,14 +109,3 @@ export default {
},
}
</script>
-<style scoped>
-.filters {
- border-inline-start: 1px solid transparent;
-}
-@screen md {
- .filters {
- /* dark-charcoal-20*/
- border-inline-start: 1px solid #d6d4d5;
- }
-}
-</style>
diff --git a/src/components/VHeader/VHeader.vue b/src/components/VHeader/VHeader.vue
index a58d418f0..bca8d57e6 100644
--- a/src/components/VHeader/VHeader.vue
+++ b/src/components/VHeader/VHeader.vue
@@ -1,14 +1,12 @@
<template>
<header
- class="main-header flex px-4 md:px-7 items-center md:items-stretch z-40 w-screen bg-white gap-x-2 gap-y-4"
+ class="main-header flex px-4 py-3 md:py-4 md:px-7 items-center md:items-stretch z-30 w-full bg-white justify-between gap-x-2 gap-y-4"
:class="{
- 'py-3 ': isHeaderScrolled,
- 'py-4 flex-wrap md:flex-nowrap': !isHeaderScrolled,
+ 'flex-wrap md:flex-nowrap': !isHeaderScrolled,
'border-b border-white': !isHeaderScrolled && !isMenuOpen,
'border-b border-dark-charcoal-20':
isSearchRoute && (isHeaderScrolled || isMenuOpen),
- 'justify-between': isSearchRoute,
- 'justify-between md:justify-start': !isSearchRoute,
+ 'md:justify-start': !isSearchRoute,
'flex-nowrap': !isSearchRoute && isHeaderScrolled,
}"
>
@@ -24,13 +22,12 @@
:size="isMinScreenMd ? 'medium' : isHeaderScrolled ? 'small' : 'large'"
:class="{
'order-4 md:order-none w-full md:w-auto': !isHeaderScrolled,
- 'search-bar-mobile-scrolled': isSearchRoute && isHeaderScrolled,
}"
@submit="handleSearch"
>
<span
v-show="searchStatus"
- class="hidden lg:block info font-semibold text-xs text-dark-charcoal-70 group-hover:text-dark-charcoal group-focus:text-dark-charcoal mx-4"
+ class="hidden lg:block info font-semibold text-xs text-dark-charcoal-70 group-hover:text-dark-charcoal group-focus:text-dark-charcoal mx-4 whitespace-nowrap"
>
{{ searchStatus }}
</span>
@@ -81,7 +78,7 @@ const menus = {
CONTENT_SWITCHER: 'content-switcher',
}
-const VHeader = defineComponent({
+export default defineComponent({
name: 'VHeader',
components: {
VLogoButton,
@@ -231,6 +228,4 @@ const VHeader = defineComponent({
}
},
})
-
-export default VHeader
</script>
diff --git a/src/components/VHeader/VHeaderFilter.vue b/src/components/VHeader/VHeaderFilter.vue
index 7f037ad18..ae0bb7895 100644
--- a/src/components/VHeader/VHeaderFilter.vue
+++ b/src/components/VHeader/VHeaderFilter.vue
@@ -83,19 +83,22 @@ export default {
watch([visibleRef], ([visible]) => {
triggerA11yProps['aria-expanded'] = visible
filterSidebar.setVisibility(visible)
- if (!isMinScreenMd) {
- visible ? lock() : unlock()
- }
})
const open = () => {
visibleRef.value = true
emit('open')
+ if (!isMinScreenMd.value) {
+ lock()
+ }
}
const close = () => {
visibleRef.value = false
emit('close')
+ if (!isMinScreenMd.value) {
+ unlock()
+ }
}
const onTriggerClick = () => {
diff --git a/src/components/VHeader/VSearchBar/VSearchButton.vue b/src/components/VHeader/VSearchBar/VSearchButton.vue
index 19c07a7f3..538e96d8d 100644
--- a/src/components/VHeader/VSearchBar/VSearchButton.vue
+++ b/src/components/VHeader/VSearchBar/VSearchButton.vue
@@ -4,7 +4,7 @@
:aria-label="$t('search.search')"
size="disabled"
:variant="isIcon ? 'plain' : 'primary'"
- class="transition-none inline-block rounded-s-none font-semibold text-2xl hover:text-white group-hover:text-white group-hover:border-pink hover:bg-pink group-hover:bg-pink focus-visible:ring focus-visible:ring-pink"
+ class="transition-none flex-shrink-0 rounded-s-none font-semibold text-2xl hover:text-white group-hover:text-white group-hover:border-pink hover:bg-pink group-hover:bg-pink focus-visible:ring focus-visible:ring-pink"
:class="[
isIcon
? 'search-button focus-visible:bg-pink focus-visible:text-white p-[0.5px] ps-[1.5px]'
diff --git a/src/components/VHeader/VSidebarContent.vue b/src/components/VHeader/VSidebarContent.vue
index 39c99d88d..d8ce2611d 100644
--- a/src/components/VHeader/VSidebarContent.vue
+++ b/src/components/VHeader/VSidebarContent.vue
@@ -1,7 +1,7 @@
<template>
- <VTeleport v-if="visible" :to="to"
- ><VSearchGridFilter @close="$emit('close')"
- /></VTeleport>
+ <VTeleport v-if="visible" :to="to">
+ <VSearchGridFilter @close="$emit('close')" />
+ </VTeleport>
</template>
<script>
diff --git a/src/components/VInputField/VInputField.vue b/src/components/VInputField/VInputField.vue
index a4663e540..2721b49e5 100644
--- a/src/components/VInputField/VInputField.vue
+++ b/src/components/VInputField/VInputField.vue
@@ -14,7 +14,7 @@
:id="fieldId"
v-bind="$attrs"
:type="type"
- class="flex-1 leading-none font-semibold bg-tx placeholder-dark-charcoal-70 ms-4 h-full appearance-none rounded-none focus:outline-none text-2xl md:text-base"
+ class="w-full leading-none font-semibold bg-tx placeholder-dark-charcoal-70 ms-4 h-full appearance-none rounded-none focus:outline-none text-2xl md:text-base"
:value="modelValue"
:aria-label="labelText"
@input="updateModelValue"
diff --git a/src/components/VMigrationNotice.vue b/src/components/VMigrationNotice.vue
index fbcfea5b2..d95cd901c 100644
--- a/src/components/VMigrationNotice.vue
+++ b/src/components/VMigrationNotice.vue
@@ -16,8 +16,9 @@
<VLink
class="text-white font-bold underline"
href="https://wordpress.org/news/2021/05/welcome-to-openverse/"
- >{{ $t('migration-notice.read') }}</VLink
>
+ {{ $t('migration-notice.read') }}
+ </VLink>
</template>
</i18n>
</VNotificationBanner>
diff --git a/src/components/VModal/VModalContent.vue b/src/components/VModal/VModalContent.vue
index ffe1084cb..bd2263d45 100644
--- a/src/components/VModal/VModalContent.vue
+++ b/src/components/VModal/VModalContent.vue
@@ -3,7 +3,7 @@
<!-- Prevent FocusTrap from trying to focus the first element. We already do that in a more flexible, adaptive way in our Dialog composables. -->
<FocusTrap :initial-focus="() => false">
<div
- class="flex justify-center z-10 fixed inset-0 bg-dark-charcoal bg-opacity-75 min-h-screen overflow-y-auto"
+ class="flex justify-center z-40 fixed inset-0 bg-dark-charcoal bg-opacity-75 min-h-screen overflow-y-auto"
>
<div
ref="dialogRef"
diff --git a/src/components/VNoticeBar/VNoticeBar.vue b/src/components/VNoticeBar/VNoticeBar.vue
deleted file mode 100644
index 0b37fd461..000000000
--- a/src/components/VNoticeBar/VNoticeBar.vue
+++ /dev/null
@@ -1,18 +0,0 @@
-<template>
- <div
- class="font-heading font-semibold text-base text-center leading-tight bg-yellow text-dark-blue py-6"
- >
- <!-- @slot Content goes here -->
- <slot />
- </div>
-</template>
-
-<script>
-/**
- * Displays notices is a yellow strip. The onus of positioning this bar is on
- * the parent component.
- */
-export default {
- name: 'VNoticeBar',
-}
-</script>
diff --git a/src/components/VNoticeBar/meta/VNoticeBar.stories.mdx b/src/components/VNoticeBar/meta/VNoticeBar.stories.mdx
deleted file mode 100644
index 58e3ec240..000000000
--- a/src/components/VNoticeBar/meta/VNoticeBar.stories.mdx
+++ /dev/null
@@ -1,36 +0,0 @@
-import {
- ArgsTable,
- Canvas,
- Description,
- Meta,
- Story,
-} from '@storybook/addon-docs'
-
-import VNoticeBar from '~/components/VNoticeBar/VNoticeBar.vue'
-
-<Meta title="Components/VNoticeBar" component={VNoticeBar} />
-
-export const Template = (args) => ({
- template: `<VNoticeBar>{{ args.text }}</VNoticeBar>`,
- components: { VNoticeBar },
- setup() {
- return { args }
- },
-})
-
-# Notice bar
-
-<Description of={VNoticeBar} />
-
-<ArgsTable of={VNoticeBar} />
-
-<Canvas>
- <Story
- name="Default"
- args={{
- text: 'Your text goes here.',
- }}
- >
- {Template.bind({})}
- </Story>
-</Canvas>
diff --git a/src/components/VNotificationBanner.vue b/src/components/VNotificationBanner.vue
index f25d4eadf..81c529807 100644
--- a/src/components/VNotificationBanner.vue
+++ b/src/components/VNotificationBanner.vue
@@ -5,7 +5,7 @@
:class="$style[variant]"
:data-testid="`banner-${id}`"
>
- <p class="text-left">
+ <p class="leading-tight md:leading-normal text-sr md:text-base text-left">
<slot name="default" />
</p>
<div class="flex">
@@ -87,5 +87,6 @@ export default defineComponent({
.announcement {
@apply bg-trans-blue text-white;
+ border-left: 0.25rem solid transparent;
}
</style>
diff --git a/src/components/VScrollButton.vue b/src/components/VScrollButton.vue
index 2b950b80a..3e866eba4 100644
--- a/src/components/VScrollButton.vue
+++ b/src/components/VScrollButton.vue
@@ -20,29 +20,24 @@
</template>
<script>
-import { computed } from '@nuxtjs/composition-api'
+import { computed, defineComponent } from '@nuxtjs/composition-api'
import { useFilterSidebarVisibility } from '~/composables/use-filter-sidebar-visibility'
const positionWithoutSidebar = 'ltr:right-4 rtl:left-4'
const positionWithSidebar = 'ltr:right-[21rem] rtl:left-[21rem]'
-export default {
+
+export default defineComponent({
name: 'VScrollButton',
setup() {
const { isVisible: isFilterVisible } = useFilterSidebarVisibility()
const hClass = computed(() =>
isFilterVisible.value ? positionWithSidebar : positionWithoutSidebar
)
- return { hClass, isFilterVisible }
- },
- methods: {
- scrollToTop() {
- this.$el.parentElement.scrollTo({
- top: 0,
- left: 0,
- behavior: 'smooth',
- })
- },
+ const scrollToTop = () => {
+ window.scrollTo({ top: 0, left: 0, behavior: 'smooth' })
+ }
+ return { hClass, isFilterVisible, scrollToTop }
},
-}
+})
</script>
diff --git a/src/components/VSearchGrid.vue b/src/components/VSearchGrid.vue
index d770d8499..cddd30719 100644
--- a/src/components/VSearchGrid.vue
+++ b/src/components/VSearchGrid.vue
@@ -8,13 +8,10 @@
>
<header
v-if="query.q && supported"
- class="mt-4"
+ class="mt-5"
:class="isAllView ? 'mb-10' : 'mb-8'"
>
- <VSearchResultsTitle
- class="leading-10"
- :size="isAllView ? 'large' : 'default'"
- >
+ <VSearchResultsTitle :size="isAllView ? 'large' : 'default'">
{{ query.q }}
</VSearchResultsTitle>
</header>
diff --git a/src/composables/use-window-scroll.js b/src/composables/use-window-scroll.js
index b4fbe6052..ff093926b 100644
--- a/src/composables/use-window-scroll.js
+++ b/src/composables/use-window-scroll.js
@@ -13,7 +13,7 @@ import { useEventListener } from '~/composables/use-event-listener'
*
* @type {import('@nuxtjs/composition-api').Ref<boolean>}
*/
-const isWindowScrolled = ref(false)
+const isScrolled = ref(false)
/**
*
@@ -30,7 +30,7 @@ export function useWindowScroll({
return {
x: ref(0),
y: ref(0),
- isWindowScrolled,
+ isScrolled,
}
}
@@ -40,7 +40,7 @@ export function useWindowScroll({
const scrollHandler = () => {
x.value = window.pageXOffset
y.value = window.pageYOffset
- isWindowScrolled.value = y.value > 0
+ isScrolled.value = y.value > 0
}
const handler = throttleMs
@@ -52,5 +52,5 @@ export function useWindowScroll({
passive: true,
})
- return { x, y, isWindowScrolled }
+ return { x, y, isScrolled }
}
diff --git a/src/layouts/default.vue b/src/layouts/default.vue
index 4893b6331..75e380644 100644
--- a/src/layouts/default.vue
+++ b/src/layouts/default.vue
@@ -1,17 +1,20 @@
<template>
- <div class="app grid h-screen overflow-hidden relative">
- <div>
+ <div class="app grid relative">
+ <div class="sticky top-0 block z-40">
<VTeleportTarget name="skip-to-content" :force-destroy="true" />
<VMigrationNotice />
<VTranslationStatusBanner />
<VHeader />
</div>
<main
- class="main embedded overflow-x-hidden"
+ class="main embedded w-screen md:w-full"
:class="{ 'has-sidebar': isSidebarVisible }"
>
- <Nuxt ref="mainContentRef" class="min-w-0 main-page" />
- <VSidebarTarget class="sidebar" />
+ <Nuxt class="min-w-0 main-page" />
+ <VSidebarTarget
+ class="sidebar fixed pb-20 end-0 bg-dark-charcoal-06"
+ :class="{ 'border-s border-dark-charcoal-20': isSidebarVisible }"
+ />
</main>
<VModalTarget class="modal" />
<VGlobalAudioSection />
@@ -20,7 +23,7 @@
<script>
import { computed, provide, ref, watch } from '@nuxtjs/composition-api'
-import { useScroll } from '~/composables/use-scroll'
+import { useWindowScroll } from '~/composables/use-window-scroll'
import { useMatchSearchRoutes } from '~/composables/use-match-routes'
import { isMinScreen } from '~/composables/use-media-query'
import { useFilterSidebarVisibility } from '~/composables/use-filter-sidebar-visibility'
@@ -49,9 +52,6 @@ const embeddedPage = {
return this.$nuxtI18nHead({ addSeoAttributes: true, addDirAttribute: true })
},
setup() {
- const mainContentRef = ref(null)
- const mainRef = ref(null)
-
const { isVisible: isFilterVisible } = useFilterSidebarVisibility()
const isMinScreenMd = isMinScreen('md')
const { matches: isSearchRoute } = useMatchSearchRoutes()
@@ -61,15 +61,10 @@ const embeddedPage = {
)
const isHeaderScrolled = ref(false)
- const scrollY = ref(0)
- const { isScrolled: isMainContentScrolled, y: mainContentY } =
- useScroll(mainContentRef)
+ const { isScrolled: isMainContentScrolled, y: scrollY } = useWindowScroll()
watch([isMainContentScrolled], ([isMainContentScrolled]) => {
isHeaderScrolled.value = isMainContentScrolled
})
- watch([mainContentY], ([mainContentY]) => {
- scrollY.value = mainContentY
- })
const showScrollButton = computed(() => scrollY.value > 70)
provide('isHeaderScrolled', isHeaderScrolled)
@@ -80,20 +75,28 @@ const embeddedPage = {
isSearchRoute.value && !isHeaderScrolled.value && !isMinScreenMd.value
)
provide('headerHasTwoRows', headerHasTwoRows)
+
return {
isHeaderScrolled,
isMinScreenMd,
isSidebarVisible,
isSearchRoute,
headerHasTwoRows,
- mainContentRef,
- mainRef,
}
},
}
export default embeddedPage
</script>
+
<style scoped>
+.sidebar {
+ /* Header height above md is 80px plus 1px for bottom border */
+ height: calc(100vh - 81px);
+}
+.has-sidebar .sidebar {
+ width: var(--filter-sidebar-width);
+}
+
.app {
grid-template-rows: auto 1fr;
}
@@ -103,9 +106,8 @@ export default embeddedPage
.main {
height: 100%;
display: grid;
- grid-template-columns: 1fr 336px;
+ grid-template-columns: 1fr var(--filter-sidebar-width);
}
-
/** Make the main content area span both grid columns when the sidebar is closed... **/
.main > *:first-child {
grid-column: span 2;
@@ -115,12 +117,4 @@ export default embeddedPage
grid-column: 1;
}
}
-
-.main {
- overflow: hidden;
-}
-.main > *:not(:empty) {
- overflow-y: scroll;
- height: 100%;
-}
</style>
diff --git a/src/locales/po-files/openverse.pot b/src/locales/po-files/openverse.pot
index 137dccada..5c4814d41 100644
--- a/src/locales/po-files/openverse.pot
+++ b/src/locales/po-files/openverse.pot
@@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Openverse \n"
"Report-Msgid-Bugs-To: https://github.com/wordpress/openverse/issues \n"
-"POT-Creation-Date: 2022-05-10T16:23:17+00:00\n"
+"POT-Creation-Date: 2022-05-10T16:41:27+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -168,7 +168,7 @@ msgctxt "migration-notice.more"
msgid "###read-more### about this announcement."
msgstr ""
-#: src/components/VMigrationNotice.vue:19
+#: src/components/VMigrationNotice.vue:20
msgctxt "migration-notice.read"
msgid "Read more"
msgstr ""
@@ -1871,7 +1871,7 @@ msgctxt "header.api-nav-item"
msgid "API"
msgstr ""
-#: src/components/VHeader/VHeader.vue:150
+#: src/components/VHeader/VHeader.vue:147
msgctxt "header.loading"
msgid "Loading..."
msgstr ""
diff --git a/src/pages/image/_id.vue b/src/pages/image/_id.vue
index 09e53b795..df82bd08d 100644
--- a/src/pages/image/_id.vue
+++ b/src/pages/image/_id.vue
@@ -3,7 +3,7 @@
<figure class="w-full mb-4 pt-12 px-6 bg-dark-charcoal-06 relative">
<div
v-if="backToSearchPath"
- class="absolute left-0 top-0 right-0 z-40 w-full px-2"
+ class="absolute left-0 top-0 right-0 w-full px-2"
>
<VBackToSearchResultsLink :path="backToSearchPath" />
</div>
@@ -237,7 +237,7 @@ export default defineComponent({
<style scoped>
section,
aside {
- @apply px-6 md:px-16 mb-10 md:mb-16 md:max-w-screen-lg lg:mx-auto;
+ @apply w-full px-6 md:px-16 mb-10 md:mb-16 md:max-w-screen-lg lg:mx-auto;
}
.btn-main {
diff --git a/src/pages/search.vue b/src/pages/search.vue
index 4b907a0ae..a4f803969 100644
--- a/src/pages/search.vue
+++ b/src/pages/search.vue
@@ -1,6 +1,6 @@
<template>
<VSkipToContentContainer
- class="browse-page flex flex-col w-full px-4 md:px-10"
+ class="browse-page flex flex-col px-4 md:px-10 w-full"
>
<VSearchGrid
:fetch-state="fetchState"
@@ -15,7 +15,7 @@
:key="$route.path"
:result-items="resultItems"
:fetch-state="fetchState"
- :is-filter-visible="isVisible"
+ :is-filter-visible="isFilterSidebarVisible"
:search-term="query.q"
:supported="supported"
data-testid="search-results"
@@ -50,7 +50,7 @@ const BrowsePage = {
},
setup() {
const isMinScreenMd = isMinScreen('md')
- const { isVisible } = useFilterSidebarVisibility()
+ const { isVisible: isFilterSidebarVisible } = useFilterSidebarVisibility()
const showScrollButton = inject('showScrollButton')
const mediaStore = useMediaStore()
const searchStore = useSearchStore()
@@ -67,7 +67,7 @@ const BrowsePage = {
return {
isMinScreenMd,
- isVisible,
+ isFilterSidebarVisible,
showScrollButton,
searchTerm,
searchType,
diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css
index d854c6893..c5dada28f 100644
--- a/src/styles/tailwind.css
+++ b/src/styles/tailwind.css
@@ -3,6 +3,10 @@
@tailwind utilities;
@layer base {
+ :root {
+ --filter-sidebar-width: 316px;
+ }
+
html {
@apply text-dark-charcoal m-0 font-normal leading-loose;
font-display: swap;
diff --git a/test/playwright/utils/navigation.ts b/test/playwright/utils/navigation.ts
index 23930ac44..a287511db 100644
--- a/test/playwright/utils/navigation.ts
+++ b/test/playwright/utils/navigation.ts
@@ -88,3 +88,9 @@ export const currentContentType = async (page: Page) => {
)
return contentSwitcherButton.textContent()
}
+
+export const dismissTranslationBanner = async (page: Page) => {
+ await page
+ .locator('[data-testid="banner-translation-ar"] [aria-label="Close"]')
+ .click()
+}
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-2xl-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-2xl-linux.png
index da4fe8934..23ba5a8c1 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-2xl-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-lg-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-lg-linux.png
index 20072cba1..49d473f8d 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-lg-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-lg-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-md-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-md-linux.png
index 8631102df..35ae8ccf5 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-md-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-md-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-xl-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-xl-linux.png
index bdd4f0594..4805491ea 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-xl-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-desktop-xl-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-sm-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-sm-linux.png
index 0c4e38e08..d928d6b27 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-sm-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-sm-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-xs-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-xs-linux.png
index 89e1c06fa..6c233f3c7 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-xs-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-desktop-UA-xs-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-sm-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-sm-linux.png
index 9d2ec1f18..6094e8d92 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-sm-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-sm-linux.png differ
diff --git a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-xs-linux.png b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-xs-linux.png
index 9468d503e..015de121a 100644
Binary files a/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-xs-linux.png and b/test/playwright/visual-regression/audio-results.spec.ts-snapshots/audio-results-narrow-viewport-mobile-UA-xs-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-sm-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-sm-linux.png
index 324862132..59f512f4f 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-sm-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-xs-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-xs-linux.png
index 4275ee0b7..d23ff7a8b 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-xs-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-sm-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-sm-linux.png
index d5863457f..a93db4918 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-sm-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-xs-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-xs-linux.png
index 7c3c4596b..5cccc6c17 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-xs-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/resting-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-2xl-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-2xl-linux.png
index 4c58d3543..18c30029a 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-2xl-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-lg-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-lg-linux.png
index c1141209b..dc4db3296 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-lg-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-lg-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-md-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-md-linux.png
index 705ff433b..0053ce012 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-md-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-md-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-sm-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-sm-linux.png
index a60c4aaa6..36f1349f9 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-sm-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xl-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xl-linux.png
index f97229e32..690e2267f 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xl-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xl-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xs-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xs-linux.png
index b5843cc2d..8c96ca820 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xs-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-2xl-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-2xl-linux.png
index da96c2c48..39e15cda8 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-2xl-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-lg-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-lg-linux.png
index f90f1e126..25389194e 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-lg-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-lg-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-md-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-md-linux.png
index af640826a..10f597ac9 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-md-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-md-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xl-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xl-linux.png
index 03c97c0c4..cb4396f40 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xl-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xl-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-expected.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-expected.png
new file mode 100644
index 000000000..ea877ebad
Binary files /dev/null and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-expected.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-linux.png
index 72b55d1aa..dc1fdba92 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/scrolled-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-sm-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-sm-linux.png
index 1af69a466..195319702 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-sm-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-xs-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-xs-linux.png
index 237e97afa..4f18756c8 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-xs-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-sm-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-sm-linux.png
index 73be17f56..011826208 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-sm-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-xs-linux.png b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-xs-linux.png
index b69af1664..c0224ef54 100644
Binary files a/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-xs-linux.png and b/test/playwright/visual-regression/header.spec.ts-snapshots/searchbar-hovered-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/focused-search-rtl-xs-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/focused-search-rtl-xs-linux.png
index c0ba29813..cb0c094cc 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/focused-search-rtl-xs-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/focused-search-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-2xl-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-2xl-linux.png
index dedb129f0..b655c3fce 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-2xl-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-lg-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-lg-linux.png
index 53ae9b362..73edbe9a1 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-lg-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-lg-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-md-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-md-linux.png
index 5419102eb..b3d785ca7 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-md-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-md-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-sm-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-sm-linux.png
index 53aaed703..dddd0ac1f 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-sm-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xl-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xl-linux.png
index 3a341b9d2..d06a221b8 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xl-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xl-linux.png differ
diff --git a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xs-linux.png b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xs-linux.png
index 5d3445299..71e513cc1 100644
Binary files a/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xs-linux.png and b/test/playwright/visual-regression/homepage.spec.ts-snapshots/index-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/media-reuse.spec.ts b/test/playwright/visual-regression/media-reuse.spec.ts
index 6e6f92d71..f56e9e2e3 100644
--- a/test/playwright/visual-regression/media-reuse.spec.ts
+++ b/test/playwright/visual-regression/media-reuse.spec.ts
@@ -1,6 +1,7 @@
import { test } from '@playwright/test'
import breakpoints from '~~/test/playwright/utils/breakpoints'
+import { dismissTranslationBanner } from '~~/test/playwright/utils/navigation'
const tabs = [
{ id: 'rich', name: 'Rich Text' },
@@ -32,6 +33,7 @@ test.describe('media-reuse', () => {
test.describe('rtl', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/ar/image/f9384235-b72e-4f1e-9b05-e1b116262a29')
+ await dismissTranslationBanner(page)
})
for (const tab of tabs) {
diff --git a/test/playwright/visual-regression/pages.spec.ts b/test/playwright/visual-regression/pages.spec.ts
index 3cdbe123e..82ca4c192 100644
--- a/test/playwright/visual-regression/pages.spec.ts
+++ b/test/playwright/visual-regression/pages.spec.ts
@@ -2,6 +2,7 @@ import { test } from '@playwright/test'
import breakpoints from '~~/test/playwright/utils/breakpoints'
import { removeHiddenOverflow } from '~~/test/playwright/utils/page'
+import { dismissTranslationBanner } from '~~/test/playwright/utils/navigation'
const contentPages = ['extension', 'about', 'meta-search', 'search-help']
for (const contentPage of contentPages) {
@@ -22,9 +23,7 @@ for (const contentPage of contentPages) {
test.describe('rtl', () => {
test.beforeEach(async ({ page }) => {
await page.goto(`/ar/${contentPage}`)
- await page
- .locator('[data-testid="banner-translation-ar"] [aria-label="Close"]')
- .click()
+ await dismissTranslationBanner(page)
})
breakpoints.describeEvery(({ expectSnapshot }) => {
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.png
index be3dbb3fb..fe58785d1 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.png
index 0f9dc1230..be84e033d 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.png
index c9a991ba9..7d57a3ae1 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.png
index 770bdc18a..3973bcff3 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.png
index b8b22d0f1..a06daddce 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.png
index ea781c9eb..a65620425 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.png
index 19352c8b4..4b75dfb90 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.png
index 294ba2b29..cb82f4ef2 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.png
index 282657e2d..437578127 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.png
index d1170814a..4cf8e928a 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.png
index a5cd184e4..3cbb890ad 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.png
index 8a68870f6..151f5e621 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.png
index 28fb61df2..6864ad181 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.png
index aed437573..60a1ef467 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.png
index 7e0de54c3..da055295e 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.png
index f00ab52a6..5332db1e1 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.png
index 76fa25492..66ea8d1ae 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.png
index 649ba5908..d279dee1f 100644
Binary files a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.png and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png
index f985b6741..16c5ff46e 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png
index a8b9de880..0bf55a780 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png
index c9a2d325f..9c222ccfd 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png
index 12d4408bd..22ac7ccaf 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png
index dab40d1ea..d63d7dd17 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png
index 39d965462..abfc836b4 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png
index 5aa9621cf..9a765eb41 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png differ
diff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png
index 1cceb0ac5..9f03c7789 100644
Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png differ