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>
|
<button id="opButton" class="clickButton nonimportant">Create account</button>
|
||||||
<br><br>
|
<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>
|
<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>
|
<a href="/privacy/">Privacy & Terms</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<key>Precomposed</key>
|
<key>Precomposed</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>URL</key>
|
<key>URL</key>
|
||||||
<string>notes.hectabit.org/app</string>
|
<string>notes.canary.hectabit.org/app</string>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>PayloadDescription</key>
|
<key>PayloadDescription</key>
|
||||||
|
|
|
@ -146,6 +146,7 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: var(--editor);
|
background-color: var(--editor);
|
||||||
font-family: "Inter", sans-serif;
|
font-family: "Inter", sans-serif;
|
||||||
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hiddenButton {
|
.hiddenButton {
|
||||||
|
@ -758,6 +759,7 @@ button:hover {
|
||||||
|
|
||||||
.inoutdiv .iconbutton img {
|
.inoutdiv .iconbutton img {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
filter: invert(var(--invertdm));
|
||||||
}
|
}
|
||||||
|
|
||||||
.inoutdiv .iconbutton:hover {
|
.inoutdiv .iconbutton:hover {
|
||||||
|
|
|
@ -7,8 +7,8 @@ let backButton = document.getElementById("backButton")
|
||||||
|
|
||||||
let remote = localStorage.getItem("SETTING-homeServer")
|
let remote = localStorage.getItem("SETTING-homeServer")
|
||||||
if (remote == null) {
|
if (remote == null) {
|
||||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||||
remote = "https://notes.hectabit.org"
|
remote = "https://notes.canary.hectabit.org"
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
|
|
@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem("
|
||||||
|
|
||||||
let remote = localStorage.getItem("SETTING-homeServer")
|
let remote = localStorage.getItem("SETTING-homeServer")
|
||||||
if (remote == null) {
|
if (remote == null) {
|
||||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||||
remote = "https://notes.hectabit.org"
|
remote = "https://notes.canary.hectabit.org"
|
||||||
}
|
}
|
||||||
|
|
||||||
let inputContainer = document.getElementById("inputContainer")
|
let inputContainer = document.getElementById("inputContainer")
|
||||||
|
|
|
@ -15,8 +15,8 @@ if (secretKey === null || password === null) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (remote == null) {
|
if (remote == null) {
|
||||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||||
remote = "https://notes.hectabit.org"
|
remote = "https://notes.canary.hectabit.org"
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatBytes(a, b = 2) {
|
function formatBytes(a, b = 2) {
|
||||||
|
|
|
@ -10,8 +10,8 @@ if (secretKey === null || cryptoKey === null) {
|
||||||
|
|
||||||
let remote = localStorage.getItem("SETTING-homeServer")
|
let remote = localStorage.getItem("SETTING-homeServer")
|
||||||
if (remote == null) {
|
if (remote == null) {
|
||||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||||
remote = "https://notes.hectabit.org"
|
remote = "https://notes.canary.hectabit.org"
|
||||||
}
|
}
|
||||||
|
|
||||||
let notesPlainText = ""
|
let notesPlainText = ""
|
||||||
|
|
|
@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem("
|
||||||
|
|
||||||
let remote = localStorage.getItem("SETTING-homeServer")
|
let remote = localStorage.getItem("SETTING-homeServer")
|
||||||
if (remote == null) {
|
if (remote == null) {
|
||||||
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org")
|
||||||
remote = "https://notes.hectabit.org"
|
remote = "https://notes.canary.hectabit.org"
|
||||||
}
|
}
|
||||||
|
|
||||||
let usernameBox = document.getElementById("usernameBox")
|
let usernameBox = document.getElementById("usernameBox")
|
||||||
|
|
Reference in New Issue