Skip to content

Commit

Permalink
Merge pull request #1763 from ewingson/main
Browse files Browse the repository at this point in the history
improve consistency of the look and feel of the two buttons
  • Loading branch information
bourgeoa authored Apr 22, 2024
2 parents 21096e2 + 5a55d38 commit 60ef3aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/js/index-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ document.addEventListener('DOMContentLoaded', async function() {
// HIDE LOGIN BUTTON, ADD REGISTER BUTTON
else {
let loginArea = document.getElementById('loginStatusArea');
let html = `<input type="button" onclick="window.location.href='/register'" value="Register to get a Pod" class="register-button">`
let html = `<input type="button" onclick="window.location.href='/register'" value="Register to get a Pod" class="register-button" style="padding: 1em; border-radius:0.2em; font-size: 100%;margin: 0.75em 0 0.75em 0.5em !important; padding: 0.5em !important;background-color: #efe;">`
let span = document.createElement("span")
span.innerHTML = html
loginArea.appendChild(span);
Expand All @@ -41,4 +41,4 @@ document.addEventListener('DOMContentLoaded', async function() {
signUpButton.style.display = "none";
}
}
})
})

0 comments on commit 60ef3aa

Please sign in to comment.