Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Fix hero search button layout error (#1140)
Tetsuaki Hamano0023b9dee072
diff --git a/src/components/VHeader/VSearchBar/VSearchButton.vue b/src/components/VHeader/VSearchBar/VSearchButton.vueindex 6f11f33fd..c52afab3c 100644--- a/src/components/VHeader/VSearchBar/VSearchButton.vue+++ b/src/components/VHeader/VSearchBar/VSearchButton.vue@@ -8,7 +8,7 @@:class="[isIcon? 'search-button focus-visible:bg-pink focus-visible:text-white p-[0.5px] ps-[1.5px]'- : 'py-6 px-10 h-full',+ : 'py-6 px-10 whitespace-nowrap h-full',sizeClasses,isHomeRoute? 'bg-pink border-b border-b-pink text-white border-tx'@@ -85,7 +85,7 @@ export default defineComponent({small: ['w-10', 'md:w-12', 'h-10', 'md:h-12'],medium: ['w-12', 'h-12'],large: ['w-14', 'h-14'],- standalone: ['w-14', 'md:w-[69px]', 'h-14', 'md:h-[69px]'],+ standalone: ['w-14', 'md:w-auto', 'h-14', 'md:h-[69px]'],}[props.size]: undefined})diff --git a/src/pages/index.vue b/src/pages/index.vueindex d5f5efd48..0b88e80dd 100644--- a/src/pages/index.vue+++ b/src/pages/index.vue@@ -12,7 +12,7 @@:is-search-route="false"/>- <div class="px-6 lg:ps-30 lg:pe-0 xl:px-40 mx-auto w-full lg:w-auto">+ <div class="px-6 lg:ps-30 lg:pe-0 xl:px-40 mx-auto w-full lg:w-auto z-10"><VLinkhref="/"class="relative hidden lg:block -left-[6.25rem] rtl:-right-[6.25rem]"