Skip to content

Commit

Permalink
Merge pull request #2 from chrishrb/fix/1-template-missing-in-binary
Browse files Browse the repository at this point in the history
1 Fix template folder missing in binary bug
  • Loading branch information
chrishrb authored Oct 30, 2024
2 parents 6251205 + 132ad1f commit a101814
Show file tree
Hide file tree
Showing 12 changed files with 138 additions and 93 deletions.
9 changes: 9 additions & 0 deletions defaults/embed.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package defaults

import "embed"

//go:embed templates
var Templates embed.FS

//go:embed static
var StaticFiles embed.FS
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
/* custom dark */
.container {
max-width: 896px;
margin: 0 auto;
@media (min-width: 940px) {
.container {
max-width: 896px;
margin: 0 auto;
}

.container-inner {
border-width: 1px;
border-color: #30363d;
border-style: solid;
border-radius: 6px;
margin-top: 20px;
margin-bottom: 6px;
}
}

.container-inner {
padding: 32px;
border-width: 1px;
border-color: #30363d;
border-style: solid;
border-radius: 6px;
margin-top: 20px;
margin-bottom: 6px;
}

.footer {
Expand Down
Loading

0 comments on commit a101814

Please sign in to comment.