Fix issue with homeserver button not being aligned
This commit is contained in:
parent
85630d87b5
commit
1b3714449b
|
@ -66,7 +66,7 @@
|
|||
<button id="opButton" class="clickButton nonimportant">Create account</button>
|
||||
<br><br>
|
||||
<div style="display: flex;"><p class="hidden" id="homeserver">Your homeserver is loading... </p><div style="display: flex;flex-direction: column;justify-content: center;"><a class="hidden" href="/homeserver">Change</a></div></div>
|
||||
<a class="iconbutton" title="Change homeserver" href="/homeserver/"><img src="/static/svg/server.svg" alt="Homeservers"></a><br><br>
|
||||
<a class="iconbutton" title="Change homeserver" href="/homeserver/"><div class="vcenter"><img src="/static/svg/server.svg" alt="Homeservers"></div></a>
|
||||
<a href="/privacy/">Privacy & Terms</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<key>Precomposed</key>
|
||||
<false/>
|
||||
<key>URL</key>
|
||||
<string>notes.hectabit.org/app</string>
|
||||
<string>notes.canary.hectabit.org/app</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>PayloadDescription</key>
|
||||
|
|
|
@ -146,6 +146,7 @@ body {
|
|||
margin: 0;
|
||||
background-color: var(--editor);
|
||||
font-family: "Inter", sans-serif;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.hiddenButton {
|
||||
|
@ -758,6 +759,7 @@ button:hover {
|
|||
|
||||
.inoutdiv .iconbutton img {
|
||||
height: 20px;
|
||||
filter: invert(var(--invertdm));
|
||||
}
|
||||
|
||||
.inoutdiv .iconbutton:hover {
|
||||
|
|
|
@ -7,8 +7,8 @@ let backButton = document.getElementById("backButton")
|
|||
|
||||
let remote = localStorage.getItem("SETTING-homeServer")
|
||||
if (remote == null) {
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
||||
remote = "https://notes.hectabit.org"
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||
remote = "https://notes.canary.hectabit.org"
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
|
|
|
@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem("
|
|||
|
||||
let remote = localStorage.getItem("SETTING-homeServer")
|
||||
if (remote == null) {
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
||||
remote = "https://notes.hectabit.org"
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||
remote = "https://notes.canary.hectabit.org"
|
||||
}
|
||||
|
||||
let inputContainer = document.getElementById("inputContainer")
|
||||
|
|
|
@ -15,8 +15,8 @@ if (secretKey === null || password === null) {
|
|||
}
|
||||
|
||||
if (remote == null) {
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
||||
remote = "https://notes.hectabit.org"
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||
remote = "https://notes.canary.hectabit.org"
|
||||
}
|
||||
|
||||
function formatBytes(a, b = 2) {
|
||||
|
|
|
@ -10,8 +10,8 @@ if (secretKey === null || cryptoKey === null) {
|
|||
|
||||
let remote = localStorage.getItem("SETTING-homeServer")
|
||||
if (remote == null) {
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
||||
remote = "https://notes.hectabit.org"
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||
remote = "https://notes.canary.hectabit.org"
|
||||
}
|
||||
|
||||
let notesPlainText = ""
|
||||
|
|
|
@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem("
|
|||
|
||||
let remote = localStorage.getItem("SETTING-homeServer")
|
||||
if (remote == null) {
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
||||
remote = "https://notes.hectabit.org"
|
||||
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||
remote = "https://notes.canary.hectabit.org"
|
||||
}
|
||||
|
||||
let usernameBox = document.getElementById("usernameBox")
|
||||
|
|
Reference in New Issue