Skip to content

Commit

Permalink
Fix app.css retro compatibility (#839)
Browse files Browse the repository at this point in the history
* fix app.css retro compatibility

* Update scripts.go

* fix light theme

* revert app.css class change
  • Loading branch information
maxence-charriere committed Jun 27, 2023
1 parent d5278db commit aa8624d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/app/gen/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: none;
}

.app-wasm-loader {
.goapp-app-info {
position: fixed;
top: 0;
left: 0;
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ func (h *Handler) servePage(w http.ResponseWriter, r *http.Request) {
Div(), // Pre-rendeging placeholder
Aside().
ID("app-wasm-loader").
Class("app-wasm-loader").
Class("goapp-app-info").
Body(
Img().
ID("app-wasm-loader-icon").
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/scripts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa8624d

Please sign in to comment.