Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit 82052e1

Browse files
committed
Fixed styling issues
1 parent 528001c commit 82052e1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/components/Component.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ A watcher has been added to the component to render the details dynamically when
211211
value: details.forks
212212
}
213213
];
214-
console.log(this.githubURL.slice(0, 8) + 'api.' + this.githubURL.slice(8, 18) + '/repos' + this.githubURL.slice(18) + '/contents/README.md');
215214
const splitTime = time =>
216215
time && typeof time === 'string' ? time.split('T')[0] : undefined;
217216
this.stats = [
@@ -255,9 +254,10 @@ A watcher has been added to the component to render the details dynamically when
255254
this.css_dependencies = result.data.css_dependencies;
256255
const url = `${API_URL}details/${this.name}`;
257256
console.log(this.sniper_data);
257+
258258
axios({
259259
method: 'GET',
260-
url: this.githubURL.slice(0, 8) + 'api.' + this.githubURL.slice(8, 18) + '/repos' + this.githubURL.slice(18) + '/contents/README.md'
260+
url: `https://api.github.com/repos/${this.githubURL.slice(19)}/contents/README.md`
261261
}).then(
262262
result => {
263263
this.readme = result.data.content;
@@ -443,6 +443,11 @@ A watcher has been added to the component to render the details dynamically when
443443
// margin-top: -20px;
444444
color: rgba(0, 0, 0, 0.7);
445445
}
446+
#readme {
447+
* {
448+
overflow-x: auto;
449+
}
450+
}
446451
#biojsio {
447452
width: 80%;
448453
border-radius: 3px;

src/components/NavBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<h1 id="bio">Bio</h1><h1 id="js">JS</h1>
1313
</div>
1414
<router-link class="navLink" to="/components"><span>Components</span></router-link>
15-
<a class="navLink" href="https://edu.biojs.net/"><span>Guide</span></a>
15+
<router-link class="navLink" to="/guide"><span>Guide</span></router-link>
1616
<router-link class="navLink" to="/about"><span>About</span></router-link>
1717
<router-link class="navLink" to="/contact"><span>Contact Us</span></router-link>
1818
<div class="close">

0 commit comments

Comments
 (0)