Skip to content

Commit 91d1f96

Browse files
committed
refactor the searchbarWithLogo css
1 parent 418885f commit 91d1f96

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.searchBarWithLogo {
2+
display: flex;
3+
flex-direction: column;
4+
row-gap: 24px;
5+
align-items: center;
6+
align-content: center;
7+
}
8+
9+
.searchBarWithLogo .searchEngineLogo {
10+
width: 280px;
11+
height: 120px;
12+
text-align: center;
13+
margin: 0 auto;
14+
}
15+
.searchEngineLogo svg {
16+
width: 100%;
17+
height: 100%;
18+
}

src/components/Elements/SearchBarWithLogo/SearchBarWithLogo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { SUPPORTED_SEARCH_ENGINES } from 'src/config'
22
import { useUserPreferences } from 'src/stores/preferences'
33
import { SearchBar } from '../SearchBar/SearchBar'
4+
import './SearchBarWithLogo.css'
45

56
export const SearchBarWithLogo = () => {
67
const { searchEngine } = useUserPreferences()

0 commit comments

Comments
 (0)