Skip to content

Commit

Permalink
fixed navbar issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Oct 30, 2023
1 parent 0b73bd3 commit 94c3de7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ changelog:
- '^docs:'
- '^test:'
- '^tmp:'
- '.env'
4 changes: 2 additions & 2 deletions handler/app/funchtml.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ func LinkRemote(href, name string) template.HTML {
if name == "" {
return "error: name is empty"
}
a := fmt.Sprintf(`<a class="dropdown-item icon-link icon-link-hover" href="%s">%s %s</a>`,
a := fmt.Sprintf(`<a class="dropdown-item icon-link icon-link-hover link-light" href="%s">%s %s</a>`,
href, name, link)
return template.HTML(a)
}
Expand All @@ -563,7 +563,7 @@ func LinkWiki(uri, name string) template.HTML {
if err != nil {
return template.HTML(err.Error())
}
a := fmt.Sprintf(`<a class="dropdown-item icon-link icon-link-hover" href="%s">%s %s</a>`,
a := fmt.Sprintf(`<a class="dropdown-item icon-link icon-link-hover link-light" href="%s">%s %s</a>`,
href, name, wiki)
return template.HTML(a)
}
Expand Down
4 changes: 2 additions & 2 deletions view/app/layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<link href="{{ cssLayout }}?{{ sriLayout }}" rel="stylesheet" integrity="{{ sriLayout }}" crossorigin="anonymous">
</head>
<body>
<div class="container-xxl m-0 p-0">
<div class="container-xxl p-0">
<nav class="navbar bg-dark sticky-top navbar-expand-lg bg-body-tertiary" data-bs-theme="dark">
<div class="container-fluid">
<img class="me-3" src="/image/layout/under-construction.gif" alt="Under construction animated GIF" width="30" height="30">
Expand Down Expand Up @@ -260,7 +260,7 @@
</div>
</div>
</nav>
</div>
</div>
<div class="container-xxl">
{{- block "modal" . -}}{{ "<!-- Modal popup content here -->" | safeHTML -}}{{end}}
{{- block "uploader" . -}}{{ "<!-- Uploader content here -->" | safeHTML -}}{{end}}
Expand Down

0 comments on commit 94c3de7

Please sign in to comment.