Skip to content

Commit

Permalink
adjusted design
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed Mar 27, 2024
1 parent 61cf137 commit 4e72063
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
19 changes: 11 additions & 8 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,27 @@
}

.container {
padding: 2em;
/* padding: 2em; */
}

.main-component {
/* padding: 2em; */
border-radius: 10px;
background-color: #aadaf1;
overflow: hidden;
display: flex;
flex-direction: column;
}

.avatar {
width: 100%;
margin-bottom: -80px;
/* width: 100%; */
margin-bottom: -240px;
margin-top: -80px;
/* height: 80px; */
}

.avatar img {
scale: 0.8;
width: 100%;
height: auto;
height: 90%;
}

.connect-buttons {
Expand All @@ -64,8 +67,8 @@
gap: 1em;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
/* border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px; */
box-shadow: 0px 0px 4px 10px rgba(255, 255, 255, 0.2);
}

Expand Down
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import solanaConnectIcon from './assets/solana_connect.png';

function App() {
return (
<div className="container">
<>
<div className="main-component">
<div className="avatar">
<img src={avatorPhone} alt="" />
Expand All @@ -26,7 +26,7 @@ function App() {
/>
</div>
</div>
</div>
</>
);
}

Expand Down

0 comments on commit 4e72063

Please sign in to comment.