Skip to content

Commit

Permalink
Merge pull request vercel#36 from ftonato/fix/mobile-style-modules
Browse files Browse the repository at this point in the history
Fix some minor problems with style between mobile and desktop
  • Loading branch information
okbel authored Oct 28, 2020
2 parents a590093 + 80b9611 commit 18f95d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/core/Searchbar/Searchbar.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.input {
@apply bg-transparent px-3 py-2 appearance-none w-full transition duration-150 ease-in-out pr-10;
min-width: 300px;

@screen sm {
min-width: 300px;
}
}

.input:focus {
Expand Down
7 changes: 6 additions & 1 deletion components/product/ProductView/ProductView.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,13 @@
}

.button {
min-width: 300px;
text-align: center;
width: 100%;
max-width: 300px;

@screen sm {
min-width: 300px;
}
}

.wishlistButton {
Expand Down

0 comments on commit 18f95d2

Please sign in to comment.