Skip to content

Commit

Permalink
Updated UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
manishdait committed Jul 4, 2023
1 parent 9b14363 commit 7c9a8ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions src/app/app.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ i{
margin-top: 120px;
}

.bottom {
display: flex;
align-items: center;
justify-content: center;
}

.bottom a, .bottom i{
color: rgb(102, 102, 102);
font-size: 1em;
text-decoration: none;
}

@media screen and (max-width:1010px) {
.range-control input{
width: 90px;
Expand Down
7 changes: 5 additions & 2 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ <h1>{{ title }}</h1>
</div>
<button class="btn" (click)="onVisualize()" id="visualize" [disabled]="disable">{{ visualMsg }}</button>
</div>
<a href="https://github.com/ManishDait/sorting-visualizer" class="fa fa-github"></a>
</div>
</nav>

Expand All @@ -49,4 +48,8 @@ <h1>{{ title }}</h1>
<app-array [onSizeChange]="change" #array="array"></app-array>
<p class="details" id="details"></p>
<p class="details" id="temp" style="margin-top: 10px; font-size: 1rem;"></p>
</div>

<div class="bottom">
<a href="https://github.com/ManishDait/sorting-visualizer">Source Code <i class="fa fa-github"></i></a>
</div>
</div>

0 comments on commit 7c9a8ce

Please sign in to comment.