Skip to content

Commit

Permalink
Better Preact standalone behavior (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
whscullin authored Nov 29, 2024
1 parent 1358e56 commit e4728d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
background-color: #c4c1a0;
margin: 16px 0;
}

.standalone {
position: fixed;
width: 100%;
}
</style>
</head>

Expand Down
6 changes: 6 additions & 0 deletions js/components/css/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
}
}

.standalone {
.header {
display: none;
}
}

.header img {
border: none;
}
Expand Down

0 comments on commit e4728d8

Please sign in to comment.