Skip to content

Commit 1139a57

Browse files
authored
Merge pull request #1 from retiarylime/fix-subtitle-line
Remove subtitle line break, update Dockerfile to use Node.js 20, add Electrolize font to head.html, and ensure proper loading in toolbox-main.scss
2 parents 25af394 + cbfc09a commit 1139a57

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build
2-
FROM node:18-alpine AS build
2+
FROM node:20-alpine AS build
33

44
WORKDIR /usr/src/app
55

js/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const {
1414
/* ************** Options ************** */
1515

1616
const initialTheme = {
17+
textAlign: "center",
1718
...getAllPresets()[15],
1819
background: "#62518d",
1920
borderSize: 5,

partials/head.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@
4343
<link href="https://fonts.googleapis.com/css2?family=Kalam&display=swap" rel="preload" as="style"
4444
crossorigin="anonymous">
4545
<link href="https://fonts.googleapis.com/css2?family=Kalam&display=swap" rel="stylesheet" crossorigin="anonymous">
46+
<link href="https://fonts.googleapis.com/css2?family=Electrolize&display=swap" rel="preload" as="style"
47+
crossorigin="anonymous">
48+
<link href="https://fonts.googleapis.com/css2?family=Electrolize&display=swap" rel="stylesheet" crossorigin="anonymous">
4649
<link
47-
href="https://fonts.googleapis.com/css2?family=Anonymous+Pro&family=Athiti&family=Della+Respira&family=Electrolize&family=Kalam&family=Lancelot&family=Life+Savers&family=Maven+Pro&family=Passero+One&family=Pixelify+Sans&family=Playball&family=Poppins&family=Quattrocento&family=Red+Hat+Display&family=Source+Code+Pro&family=Ubuntu&display=swap"
50+
href="https://fonts.googleapis.com/css2?family=Anonymous+Pro&family=Athiti&family=Della+Respira&family=Kalam&family=Lancelot&family=Life+Savers&family=Maven+Pro&family=Passero+One&family=Pixelify+Sans&family=Playball&family=Poppins&family=Quattrocento&family=Red+Hat+Display&family=Source+Code+Pro&family=Ubuntu&display=swap"
4851
rel="stylesheet">
4952

5053
<!-- Favicon -->

styles/toolbox-main.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
.title,
5656
.subtitle {
5757
transition: 0.25s ease;
58+
white-space: nowrap;
59+
}
60+
61+
// Ensure Electrolize font loads properly
62+
.title[style*="Electrolize"],
63+
.subtitle[style*="Electrolize"] {
64+
font-family: "Electrolize", monospace !important;
5865
}
5966

6067
img {

0 commit comments

Comments
 (0)