Skip to content

Commit

Permalink
artifact cards tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Jul 26, 2024
1 parent 43f2b23 commit 6e5c383
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions handler/app/internal/str/str.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ func Thumb(unid, desc, thumbDir string, bottom bool) template.HTML {
if helper.Stat(fp) {
p = true
}
const style = "min-height:5em;max-height:20em;"
class := "card-img-bottom"
const style = "max-height:400px;"
class := "m-2 img-fluid rounded mx-auto d-block"
if !bottom {
class = "card-img-top"
}
Expand Down
1 change: 0 additions & 1 deletion view/app/artifactfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
<button class="btn btn-outline-secondary" id="asset-editor-download-reset">Clear</button>
</div>
<div class="form-text" id="basic-addon4"><span class="text-warning-emphasis">Normally not required</span>, upload and replace the artifact download.</div>

<legend class="mt-3">Download content</legend>
{{- if eq "" (index . "modZipContent")}}
<div class="input-group mb-3">
Expand Down
2 changes: 1 addition & 1 deletion view/app/artifacts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<div class="col">
<div class="card {{$cardClass}}">
<div class="card-header text-body-secondary text-center">
<code>{{$filename}}</code>
<code class="h6">{{$filename}}</code>
</div>
<div class="card-body">
<h2 class="card-title text-truncate fs-5">{{linkRelrs .GroupBrandFor .GroupBrandBy }}</h2>
Expand Down

0 comments on commit 6e5c383

Please sign in to comment.