Skip to content

Commit 9829388

Browse files
authored
Fix styling for buttons in ISO download section (#264)
* fix: styling in ISO download section * fix: msdl download button styling
1 parent 859868c commit 9829388

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/javascript/msdl.v1.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ function langJsonStrToHTML(jsonStr) {
110110
button.textContent = "Download";
111111
button.disabled = true;
112112
button.setAttribute("onClick", "getDownload();");
113+
button.classList = "msdl-button";
113114
container.appendChild(button);
114115

115116
return container.innerHTML;

includes/msdl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
document.head.appendChild(styleSheet)
1313
</script>
1414

15-
<center class="noJs centerMsdl">
15+
<center markdown class="noJs centerMsdl">
1616
<div class="msdl-button-container">
1717
<button markdown class="msdl-button" style="margin-right: 2px" onclick="getWindows({{ msdl.win11.pid }});">Download Windows 11 {{ msdl.win11.version }}</button>
1818
<button markdown class="msdl-button" style="margin-left: 2px" onclick="getWindows({{ msdl.win10.pid }});">Download Windows 10 {{ msdl.win10.version }}</button>

0 commit comments

Comments
 (0)