Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: safari bugs #90

Merged
merged 1 commit into from
Nov 26, 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
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
Loading