Skip to content

Commit 2abff9e

Browse files
committed
fixed authors position for disabled web
1 parent f0e6319 commit 2abff9e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

src/main/resources/disabledWeb/scripts/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ loadGithubStars();
1919

2020
// ? happy birthday Bumer_32
2121
// TODO: fix position
22-
if (new Date().getMonth() == 1 && new Date().getDate() == 21) {
22+
if (new Date().getMonth() === 1 && new Date().getDate() === 21) {
2323
console.log("Happy birthday Bumer_32! 🎉🎉🎉");
2424
const creatorElement = document.querySelector(".footer .authors .creator");
2525
creatorElement.innerHTML = creatorElement.innerHTML + " | Happy birthday Bumer_32! 🎉🎉🎉";
@@ -38,6 +38,6 @@ try {
3838
});
3939
});
4040
} catch (e) {
41-
console.error("Failed to load IWTCSM version");
41+
console.error("Failed to load IWTCMS version");
4242
console.error(e);
4343
}

src/main/resources/disabledWeb/styles/btn-shine.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
left: 50%;
66
transform: translate(-50%, -50%);
77
padding: 12px 48px;
8+
margin: -12px -48px;
89
color: #fff;
910
background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
1011
background-position: 0;

src/main/resources/disabledWeb/styles/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,18 @@ body {
8888

8989
.iwtcms-label {
9090
position: static;
91-
transform: translate(-15%, 0);
91+
transform: translate(0, 0);
9292
background: linear-gradient(to right, var(--footer-iwtcms-label-color-1) 0, var(--footer-iwtcms-label-color-2) 10%, var(--footer-iwtcms-label-color-3) 20%) 0;
9393
-webkit-background-clip: text;
9494
background-clip: text;
95+
margin-left: -30px;
96+
margin-right: -30px;
9597
}
9698

9799
.authors {
98100
font-size: 8px;
99101
display: flex;
100102
flex-direction: column;
101-
transform: translateX(-50%);
102103
color: var(--footer-authors-color);
103104
transition: color 0.3s ease;
104105
text-align: left;

src/main/web/lib/tabs/SettingsTab/SettingsTab.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
ToastSystem.addToQueue(`Error: ${error}`, ToastSystem.ToastType.ERROR);
2222
}
2323
});
24+
// TODO: forbidden message
2425
</script>
2526

2627
<div id="settings-tab" class="disabled">

0 commit comments

Comments
 (0)