Skip to content

Commit

Permalink
fix: safari bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
hiba9201 committed Nov 26, 2023
1 parent 4f10e85 commit 62a978f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions client/components/Map/Info/Info.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
height: 48px;
border-radius: 50%;
color: #000;
padding: 1px 6px;

display: flex;
justify-content: center;
Expand Down
11 changes: 9 additions & 2 deletions client/components/Map/SearchBar/SearchBar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
height: 48px;
width: 100%;

padding: 12px 16px;
border-radius: 86px;

background-color: #fff;
Expand All @@ -53,10 +52,14 @@

.MapSearchBar__input {
width: 100%;
padding: 0;
padding: 12px 16px 12px 48px;
border: none;
outline: none;

background-image: url('/icons/search.svg');
background-repeat: no-repeat;
background-position: 16px 50%;

font-family: inherit;
font-weight: 400;
font-size: 18px;
Expand Down Expand Up @@ -84,6 +87,10 @@
height: 24px;
margin: 0;
}

&::-webkit-search-decoration {
display: none;
}
}

.MapSearchBar__results {
Expand Down
1 change: 0 additions & 1 deletion client/components/Map/SearchBar/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export function MapSearchBar() {
})}
onSubmit={onSubmit}
>
<img src="/icons/search.svg" alt="" />
<input
type="search"
placeholder="Поиск"
Expand Down

1 comment on commit 62a978f

@ekbdev
Copy link

@ekbdev ekbdev commented on 62a978f Nov 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for transport ready!

✅ Preview
https://transport-mpc2z83ee-ekbdev.vercel.app
https://ekbdev-transport-safari-fixes.vercel.app

Built with commit 62a978f.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.