Skip to content

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

Fix homepage searchbar appearance when focused in mobile safari (#819)

Zack Krida6d379c8803ab
diff --git a/nuxt.config.js b/nuxt.config.js
index 6047105af..7171615e7 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -12,9 +12,37 @@ import { sentry } from './src/utils/sentry-config'
*/
const meta = [
{ charset: 'utf-8' },
- { name: 'viewport', content: 'width=device-width,initial-scale=1' },
// Tells Google to only crawl Openverse when iframed
{ hid: 'googlebot', name: 'googlebot', content: 'noindex,indexifembedded' },
+ {
+ name: 'description',
+ content:
+ 'A new Openverse search tool for creators seeking to discover and reuse free resources with greater ease.',
+ },
+ {
+ name: 'viewport',
+ content: 'width=device-width,initial-scale=1',
+ },
+ { name: 'twitter:card', content: 'summary_large_image' },
+ { name: 'twitter:site', content: '@creativecommons' },
+ { name: 'og:title', content: 'Openverse' },
+ {
+ name: 'og:image',
+ content: '/cclogo-shared-image.jpg',
+ },
+ {
+ name: 'og:description',
+ content:
+ 'Empowering the world to share through 6 simple licenses + a global community of advocates for open.',
+ },
+ {
+ name: 'og:url',
+ content: 'https://creativecommons.org',
+ },
+ {
+ name: 'og:site_name',
+ content: 'Creative Search',
+ },
{
vmid: 'monetization',
name: 'monetization',
diff --git a/src/components/VInputField/VInputField.vue b/src/components/VInputField/VInputField.vue
index 6e413cd8f..5417d90fd 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 focus:outline-none"
+ 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"
:value="modelValue"
:aria-label="labelText"
@input="updateModelValue"
@@ -30,7 +30,7 @@
import { computed } from '@nuxtjs/composition-api'
const FIELD_SIZES = {
- small: 'h-10',
+ small: 'h-10 text-md',
medium: 'h-12',
large: 'h-14',
standalone: 'h-14 md:h-[69px]',