Skip to content

Commit c3c06e6

Browse files
committed
more fixes for multiple versions
1 parent 1d95e12 commit c3c06e6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/app/website/tutorials-container/tutorials-container.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div class="tutorials-container">
22
<div class="tutorial-title" *ngIf="tutorial">
33
<h1>{{ tutorial.name }}</h1>
4+
<h5 class="gh-link"><a target="_blank" [href]="'https://github.com/' + tutorial.gitHub"><md-icon fontSet="fa" fontIcon="fa-github"></md-icon>{{'https://github.com/' + tutorial.gitHub}}</a></h5>
45
<h4 *ngIf="getVersions(tutorial.versions).length > 1">Version of {{ getCurrentVersion().displayName }}</h4>
56
</div>
67
<div class="version-timeline" *ngIf="tutorial && getVersions(tutorial.versions).length > 1">

src/app/website/tutorials-container/tutorials-container.component.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,16 @@ tutorials-versions {
164164
margin-top: 0;
165165
margin-bottom: 0;
166166
}
167+
168+
.gh-link {
169+
text-align: center;
170+
margin-top: 0;
171+
margin-bottom: 0;
172+
173+
a {
174+
color: black;
175+
}
176+
}
167177
}
168178

169179
.tutorial-content blockquote {

0 commit comments

Comments
 (0)