Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/iwokonl/Kantor
Browse files Browse the repository at this point in the history
  • Loading branch information
iwokonl committed May 20, 2024
2 parents c991053 + 7bda351 commit fd454c2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ <h3>{{ currencyDetails.currency +' ' + currencyFlags[currencyDetails.code] }}</h
<div class="chart-container"><canvas id="chart" width="80vw" height="60vh"></canvas></div>

<div class="chart-buttons-container">
<button class="chart-buttons" (click)="changeDateRange(7)">1 T</button>
<button class="chart-buttons" (click)="changeDateRange(14)">2 T</button>
<button class="chart-buttons" (click)="changeDateRange(30)">1 M</button>
<button class="chart-buttons" (click)="changeDateRange(90)">3 M</button>
<button class="chart-buttons" (click)="changeDateRange(365)">1 R</button>
<div class="chart-buttons-inner-container">
<button class="chart-buttons" (click)="changeDateRange(7)">1 T</button>
<button class="chart-buttons" (click)="changeDateRange(14)">2 T</button>
<button class="chart-buttons" (click)="changeDateRange(30)">1 M</button>
<button class="chart-buttons" (click)="changeDateRange(90)">3 M</button>
<button class="chart-buttons" (click)="changeDateRange(365)">1 R</button>
</div>
</div>

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
color: #DBDBDB;
display: flex;
flex-direction: column;
width: 80vh;
width: 75vh;
//margin: 50px auto 50px 120px;
padding: 1vh;
//border: 1px solid #ccc;
Expand Down Expand Up @@ -52,13 +52,23 @@
display: flex;
justify-content: center;
align-items: center;
gap: 2vw;
padding: 1%;
width: 100%;
height: 10%;
gap: 1%;
}
.chart-buttons-inner-container{
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
.chart-buttons{
width: 10%;
height: 100%;
background: none;
border: none;
border: 1px solid transparent;
color: rgba(228, 228, 228, 0.80);
&:hover{
border-radius: 10px;
Expand Down

0 comments on commit fd454c2

Please sign in to comment.