Skip to content

Commit 9d1a6c0

Browse files
author
Joe-Brady
committed
Change names to x64, fix width CSS
1 parent a07dd9a commit 9d1a6c0

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

src/js/0-global.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// osDetectionString: this string is searched by the OS detection library platform.js to find a match. Include as many words as you like, separated by spaces.
1010
var platforms = [
1111
{
12-
officialName: "Linux x86-64",
12+
officialName: "Linux x64",
1313
searchableName: "X64_LINUX",
1414
logo: "linux.png",
1515
binaryExtension: ".tar.gz",
@@ -18,7 +18,7 @@ var platforms = [
1818
osDetectionString: "Linux Mint Debian Fedora FreeBSD Gentoo Haiku Kubuntu OpenBSD Red Hat RHEL SuSE Ubuntu Xubuntu hpwOS webOS Tizen"
1919
},
2020
{
21-
officialName: "Windows x86-64",
21+
officialName: "Windows x64",
2222
searchableName: "X64_WIN",
2323
logo: "windows.png",
2424
binaryExtension: ".zip",
@@ -27,7 +27,7 @@ var platforms = [
2727
osDetectionString: "Windows Win Cygwin"
2828
},
2929
{
30-
officialName: "macOS x86-64",
30+
officialName: "macOS x64",
3131
searchableName: "X64_MAC",
3232
logo: "mac.png",
3333
binaryExtension: ".tar.gz",

src/js/releases.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ function buildLatestHTML(releasesJson) {
108108
document.getElementById("latest-info").innerHTML = latestInfoHTML;
109109

110110
var latestTable = document.getElementById('latest-table');
111+
var latestSelector = document.getElementById('latest-selector');
112+
var tableScrollWidth = latestSelector.scrollWidth;
111113
latestTable.style.display = "block";
112114
latestTable.style.maxWidth = (tableScrollWidth + "px");
113115

114116
// if the table has a scroll bar, show text describing how to horizontally scroll
115117
var scrollText = document.getElementById('latest-scroll-text');
116-
var latestSelector = document.getElementById('latest-selector');
117118
var tableDisplayWidth = latestSelector.clientWidth;
118-
var tableScrollWidth = latestSelector.scrollWidth;
119119
if (tableDisplayWidth != tableScrollWidth) {
120120
scrollText.className = scrollText.className.replace( /(?:^|\s)hide(?!\S)/g , '' );
121121
}

src/scss/styles-4-releases.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ $tableblue-even: #1F2F4E;
110110
#latest-info .platform-section {
111111
display: inline-block;
112112
padding: 2rem;
113-
border-right: 0.2rem solid rgba(21,41,53,.15);
113+
border-right: 0.2rem solid rgba(21,41,53,.1);
114+
min-width: 10rem;
114115
h2 {
115116
margin-bottom: 0;
116117
white-space: nowrap;

src/scss/styles-5-medium.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
display: block;
2626
border-right: none;
2727
padding: 0;
28+
min-width: 100%;
2829
}
2930

3031
#latest-info .content-section {

0 commit comments

Comments
 (0)