mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-19 22:27:20 +02:00
fix: make dashboard UI consistent and compact on mobile
This commit is contained in:
1 parent
adc9dbd439
commit
282efdc16e
52 files changed
+2177
-712
No files matched your search
@@ -74,25 +74,5 @@
|
||||
};
|
||||
</script>
|
||||
<script src="/script/__VENDOR_JS__" defer></script>
|
||||
<script>
|
||||
window.addEventListener("load", function () {
|
||||
var s = document.createElement("script");
|
||||
s.src = "https://storage.ko-fi.com/cdn/scripts/overlay-widget.js";
|
||||
s.onload = function () {
|
||||
var isDark = localStorage.getItem("darkMode") === "true";
|
||||
kofiWidgetOverlay.draw("tdurieux", {
|
||||
type: "floating-chat",
|
||||
"floating-chat.donateButton.text": "Support me",
|
||||
"floating-chat.donateButton.background-color": isDark
|
||||
? "#FAF9F6"
|
||||
: "#1A1815",
|
||||
"floating-chat.donateButton.text-color": isDark
|
||||
? "#1A1815"
|
||||
: "#FAF9F6",
|
||||
});
|
||||
};
|
||||
document.body.appendChild(s);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user