Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Fix homepage zooming on iPhone #2160

Merged
merged 3 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions src/components/VHeader/VSearchBar/VStandaloneSearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,12 @@
ref="inputRef"
type="search"
name="q"
:placeholder="
$t(
isHomeRoute ? 'hero.search.placeholder' : '404.search-placeholder'
).toString()
"
class="h-full w-full appearance-none rounded-none bg-tx text-base leading-none text-dark-charcoal placeholder-dark-charcoal-70 ms-4 focus:outline-none md:text-2xl"
:placeholder="$t('hero.search.placeholder').toString()"
class="paragraph-large md:label-regular h-full w-full appearance-none rounded-none bg-tx leading-none text-dark-charcoal placeholder-dark-charcoal-70 ms-4 focus:outline-none"
:aria-label="
isHomeRoute
? $t('search.search-bar-label', {
openverse: 'Openverse',
}).toString()
: $t('404.search-placeholder').toString()
$t('search.search-bar-label', {
openverse: 'Openverse',
}).toString()
"
/>
<!-- @slot Extra information goes here -->
Expand Down
1 change: 0 additions & 1 deletion src/locales/scripts/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"404": {
title: "The content you’re looking for seems to have disappeared.",
main: "Go to {link} or search for something similar from the field below.",
"search-placeholder": "Search for content to reuse",
},
hero: {
subtitle: "Explore more than 600 million creative works",
Expand Down
6 changes: 3 additions & 3 deletions src/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Heading 3 - 28px - 5xl bold
Heading 4 - 24px - 4xl bold
Heading 5 - 19px - 3xl semibold
Heading 6 - 16px - 2xl semibold
Paragraph Large - 16px - 2xl regular leading-larger
Paragraph Small - 14px - base regular leading-large
Paragraph Large - 16px - 2xl regular leading-[190%] (larger)
Paragraph Small - 14px - base regular leading-[170%] (large)
Body - 14px - base regular (default leading-normal)
Description Regular - 14px - base
Description Bold - 14px - base semibold
Expand Down Expand Up @@ -85,7 +85,7 @@ Time - 11px - xs semibold (default leading-[120%])
}

.paragraph-large {
@apply leading-larger text-2xl;
@apply text-2xl leading-[190%];
}

.paragraph-small {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.