Skip to content

Commit

Permalink
Enhancement: fix layout and transitions are added
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelborkar committed Apr 25, 2022
1 parent a6c1ced commit dec3dbd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ a:hover {
.app {
display: flex;
overflow: hidden;
height: 100vh;
}

.navbar {
Expand All @@ -30,6 +31,7 @@ a:hover {
.main {
flex: 0.84;
width: 100%;
height: 100vh;
}
.routes {
padding: 20px;
Expand Down Expand Up @@ -296,6 +298,11 @@ a:hover {
.news-card {
min-height: 300px !important;
}

.news-card:hover {
transform: scale(1.05) !important;
transition: transform 0.2s ease-in;
}
.news-image-container {
display: flex !important;
justify-content: space-between !important;
Expand Down
2 changes: 1 addition & 1 deletion src/components/News.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const News = ({ simplified }) => {
<Select
showSearch
className="select-news"
placeholder="Search a crypto"
placeholder="Select a cryptocurrency"
optionFilterProp="children"
onChange={(value) => setNewsCategory(value)}
filterOption={(input, option) =>
Expand Down

0 comments on commit dec3dbd

Please sign in to comment.