Skip to content

Commit

Permalink
Merge pull request #93 from uvulpos/fix/remove-body-sapcing-from-swag…
Browse files Browse the repository at this point in the history
…ger-ui

Remove body margin spacing from Swagger UI
  • Loading branch information
ReneWerner87 authored Jul 4, 2024
2 parents fce41f4 + a67076c commit 503230c
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 503230c

Please sign in to comment.