Skip to content

Commit 56bdf22

Browse files
author
Tim Berners-Lee
committed
style and bug with inlned links - tweaks
1 parent 86fd870 commit 56bdf22

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/signin.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = {
4848
solidAuthClient
4949
}
5050

51-
const signInButtonStyle = 'padding: 1em; border-radius:0.5em; margin: 2em;'
51+
const signInButtonStyle = 'padding: 1em; border-radius:0.5em; margin: 2em; font-size: 100%;'
5252

5353
// const userCheckSite = 'https://databox.me/'
5454

@@ -737,7 +737,7 @@ function signInOrSignUpBox (dom, setUserCallback) {
737737
box.appendChild(signInPopUpButton)
738738
signInPopUpButton.setAttribute('type', 'button')
739739
signInPopUpButton.setAttribute('value', 'Log in')
740-
signInPopUpButton.setAttribute('style', signInButtonStyle + 'background-color: #fef;')
740+
signInPopUpButton.setAttribute('style', signInButtonStyle + 'background-color: #eef;')
741741

742742
signInPopUpButton.addEventListener('click', () => {
743743
var offline = offlineTestID()
@@ -894,10 +894,10 @@ function loginStatusBox (dom, listener) {
894894
}
895895
}
896896
var signOutButton = dom.createElement('input')
897-
signOutButton.className = 'WebIDCancelButton'
897+
// signOutButton.className = 'WebIDCancelButton'
898898
signOutButton.setAttribute('type', 'button')
899899
signOutButton.setAttribute('value', logoutLabel)
900-
signOutButton.setAttribute('stye', signInButtonStyle + 'background-color: #eee;')
900+
signOutButton.setAttribute('style', signInButtonStyle + 'background-color: #eee;')
901901
signOutButton.addEventListener('click', logoutButtonHandler, false)
902902
return signOutButton
903903
}

0 commit comments

Comments
 (0)