Skip to content

Commit 029fd68

Browse files
committed
Updated step 6
1 parent 958f5d3 commit 029fd68

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/App.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424
top: 10px;
2525
}
2626

27+
.app__source-link {
28+
position: absolute;
29+
top: 0;
30+
right: 0;
31+
z-index: 10;
32+
}
33+
2734
.pwa b,
2835
.serviceworker b {
2936
display: inline-block;
@@ -187,10 +194,6 @@
187194
.app__header h3 {
188195
padding-left: 10px;
189196
}
190-
191-
.app__source:active {
192-
outline: 1px solid #fff;
193-
}
194197
}
195198

196199
.page__notfound {

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class App extends Component {
2525
<Menu isMenuOpen={showMenu}/>
2626
<Header callbackMenu={this.callbackMenu}/>
2727
<div className="app__container">
28-
<a title="Source" href="https://github.com/code-kotis/pwa-codelabs" target="_blank" rel="noopener">
28+
<a className="app__source-link" title="Source" href="https://github.com/code-kotis/pwa-codelabs" target="_blank" rel="noopener">
2929
<img className="app__source" alt="Source" src={GitHub} />
3030
</a>
3131
{this.props.children}

src/step-6/AppLike.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class AppLike extends Component {
4141

4242
<b>Sample Manifest</b>
4343

44-
<Highlight lang='json' value={manifestJson} />
44+
<Highlight lang="json" value={manifestJson} />
4545

4646
<p>More about manifest in <a href="https://w3c.github.io/manifest/">W3C Specification</a>.</p>
4747

@@ -51,7 +51,6 @@ class AppLike extends Component {
5151
<div className="offline__container">
5252
<img className="" src={manifest} alt="Manifest File" />
5353
</div>
54-
5554
</div>
5655
);
5756
}

0 commit comments

Comments
 (0)