Skip to content

Commit c22cc0e

Browse files
fix header
Signed-off-by: Jonathan Irvin <djfoxyslpr@gmail.com>
1 parent 56897f3 commit c22cc0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def setup_head(background_color: str):
446446

447447
# Use full width with padding so the header spans edge-to-edge
448448
with ui.element("div").classes("w-full"):
449-
ui.label(f"{HEADER_TEXT}).classes("fit-header text-center").style(f"font-family: {HEADER_FONT_FAMILY}; color: {HEADER_TEXT_COLOR};")
449+
ui.label(f"{HEADER_TEXT}").classes("fit-header text-center").style(f"font-family: {HEADER_FONT_FAMILY}; color: {HEADER_TEXT_COLOR};")
450450

451451
def get_google_font_css(font_name: str, weight: str, style: str, uniquifier: str) -> str:
452452
"""
@@ -631,4 +631,4 @@ def generate_new_board():
631631
app.mount("/static", StaticFiles(directory="static"), name="static")
632632

633633
# Run the NiceGUI app
634-
ui.run(port=8080, title=f"{HEADER_TEXT}, dark=False)
634+
ui.run(port=8080, title=f"{HEADER_TEXT}", dark=False)

0 commit comments

Comments
 (0)