Skip to content

Commit

Permalink
fix: remove body margin spacing from swagger ui
Browse files Browse the repository at this point in the history
  • Loading branch information
uvulpos committed Jul 3, 2024
1 parent fce41f4 commit a67076c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const indexTmpl string = `
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
{{- if .CustomStyle}}
<style>
body { margin: 0; }
{{.CustomStyle}}
</style>
{{- end}}
Expand Down

0 comments on commit a67076c

Please sign in to comment.