Skip to content

Commit

Permalink
search zoom hack
Browse files Browse the repository at this point in the history
  • Loading branch information
russellsamora committed Nov 25, 2024
1 parent b5030ee commit b866e5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="search">
<!-- <span>Search</span> -->
<img class="icon" src="assets/stickers/[email protected]" aria-hidden="true" alt="" />
<input placeholder="Find a story" bind:value={searchValue} />
<input type="text" placeholder="Find a story" bind:value={searchValue} />
</div>
<div class="filters">
<Filters {filters} bind:activeFilter></Filters>
Expand Down Expand Up @@ -61,15 +61,14 @@
}
input {
margin-left: 4px;
/* margin-left: 4px; */
width: 10em;
outline: 2px solid var(--color-fg);
border-radius: 1px;
}
input::placeholder {
font-family: var(--mono);
font-size: var(--12px);
}
.icon {
Expand All @@ -84,7 +83,7 @@
@media only screen and (min-width: 400px) {
input {
margin-left: 8px;
margin-left: -8px;
width: 12em;
}
}
Expand Down
7 changes: 7 additions & 0 deletions src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,11 @@ svg {

.inner strong, li strong {
font-family: var(--sans);
}

input[type="search"],
input[type="text"],
textarea {
font-size: 16px;
transform: scale(0.75);
}

0 comments on commit b866e5e

Please sign in to comment.