Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
ansisme committed Oct 5, 2023
1 parent 49cecde commit 742792d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ function App() {
className={isDark ? 'input_search_dark' : 'input_search'}
/>
{isDropdownVisible && countryMatch.length > 0 && (
<div className='list-dropdown country-suggestions'>
<div className='list-dropdown'>
{countryMatch.map((item, index) => (
<div
key={index}
Expand Down
7 changes: 3 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,7 @@ body {
.search-bar {
position: relative;
display: flex;
flex-direction: column;
width: 50%;
padding: 2% 28%;

}

.form-width{
Expand All @@ -196,7 +193,6 @@ body {
width: 100%;
}


.search-bar > input {
background-color: var(--cardColor);
width: 100%;
Expand All @@ -211,6 +207,7 @@ body {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
font-family: 'Josefin Sans', sans-serif;
z-index: 10;

}
.country-suggestions {
Expand All @@ -237,6 +234,8 @@ body {
transition: all 0.5s ease;
margin-top: 10px;
z-index: 0;
/* height: 62px; */
top: 0;
}
.s-icon:hover {
cursor: pointer;
Expand Down

0 comments on commit 742792d

Please sign in to comment.