Skip to content

My server does not update/reload properly #18627

Answered by wongjn
rempas asked this question in Help
Discussion options

You must be logged in to vote

Seems to be working as expected. Changing class names lead to visual changes straight away.

Perhaps unrelated but some errors I saw:

  • You shouldn't use :global() in the CSS file:
     @custom-variant dark (&:where(.dark, .dark *));
    
    -:global(body) {
    +body {
       margin: 0;
       min-width: 100vw;
    -:global(#app) {
    +#app {
       padding: 10px 16px;
  • The URL for the background image is incorrect if you want to keep the image file in static:
     min-height: 100vh;
    -background-image: url("../static/images/base_body_img.jpg");
    +background-image: url("/images/base_body_img.jpg");
     background-size: cover; /* Ensures the image covers the div */
  • You seem to have mispelled zinc as sinc in +page.svelte:
     <div id="…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rempas
Comment options

@wongjn
Comment options

wongjn Jul 28, 2025
Collaborator

@rempas
Comment options

@wongjn
Comment options

wongjn Jul 28, 2025
Collaborator

Answer selected by rempas
@rempas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants