Skip to content

Commit

Permalink
Fix title alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Wang committed Nov 28, 2017
1 parent 71edee5 commit f975d9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions public/style/coin.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
.title {
display: flex;
flex-direction: row;
align-items: center;
align-items: flex-end;
padding: 40px;
}

.title-symbol {
.title-symbol-icon {
height: 100px;
width: 100px;
}
.title-name {
font-size: 70px;
padding: 30px;
padding: 0 30px;
font-weight: normal;
}

.title-symbol {
padding-bottom:18px;
}
4 changes: 2 additions & 2 deletions views/coin.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
<div class="main-body">
<!-- Coin Title -->
<div class="title">
<img class="title-symbol" src="../img/<%= coinId.toUpperCase() %>.svg">
<img class="title-symbol-icon" src="../img/<%= coinId.toUpperCase() %>.svg">
<h1 class="title-name"><%= coinSet[coinId] %></h1>
<h3 class="">(<%= coinId.toUpperCase() %>)</h3>
<h3 class="title-symbol">(<%= coinId.toUpperCase() %>)</h3>
</div>

<!--Price graph-->
Expand Down

0 comments on commit f975d9a

Please sign in to comment.