Skip to content

Commit dd819b4

Browse files
committed
fixes
1 parent 1b13dfa commit dd819b4

5 files changed

Lines changed: 13 additions & 6 deletions

File tree

_includes/plugins/pluginCard.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ <h2 class="jv-card-title">
2121
<div class="plugin-box-footer">
2222
<div class="plugin-reports">
2323
<a class="view-reports" href="https://github.com/javalin/website/issues/{{ include.ratingIssueNr }}">View reports</a>
24-
<a class="make-report" href="https://github.com/javalin/website/issues/{{ include.ratingIssueNr }}">Report plugin</a>
24+
<a class="make-report" href="https://github.com/javalin/website/issues/{{ include.ratingIssueNr }}">Report</a>
2525
</div>
2626
{% assign first = include.docsUrl | slice: 0 %}
2727
<a class="view-docs-btn" href="{{ include.docsUrl }}">
28-
View documentation
28+
View docs
2929
{% if first == "/" %}
3030
<svg width="24" height="24" viewBox="0 0 24 24">
3131
<path d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"/>

_includes/plugins/pluginCard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function setPluginReports(pluginName, apiUrl) {
1919
function setReports(comments) {
2020
document.querySelector(`.${pluginName} .plugin-reports`).insertAdjacentHTML("afterbegin", `
2121
${comments > 0
22-
? `<span class="r-icon r-alert">${reactionIcons.alert} This plugin has been reported ${comments} times</span>`
23-
: `<span class="r-icon r-check">${reactionIcons.check} This plugin has never been reported</span>`}
22+
? `<span class="r-icon r-alert">${reactionIcons.alert} ${comments} reports</span>`
23+
: `<span class="r-icon r-check">${reactionIcons.check} Never reported</span>`}
2424
`)
2525
}
2626
}

_includes/sponsorOrStar.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.star-us {
1414
display: flex;
1515
align-items: center;
16-
padding: 24px;
16+
padding: 20px;
1717
margin: 40px 0;
1818
font-family: var(--jv-font-heading);
1919
font-weight: 600;
@@ -30,6 +30,7 @@
3030
letter-spacing: -0.5px;
3131
font-weight: bold;
3232
display: none;
33+
margin-top: 0;
3334
}
3435

3536
#starFrame {

_sass/_frame.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,9 @@ body.dark-mode {
334334

335335
li {
336336
a {
337+
margin: 0;
337338
font-size: 16px;
338-
padding: 8px 12px;
339+
padding: 8px;
339340
}
340341

341342
+ li {

_sass/_tutorial.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
display: inline-block;
3535
float: none;
3636
}
37+
38+
.tutorial-card .tutorial-languages {
39+
position: static;
40+
margin-top: 12px;
41+
}
3742
}
3843

3944
/* Tutorial overview tabs */

0 commit comments

Comments
 (0)