nodebb-theme-persona 15.2.2 → 15.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "15.2.2",
3
+ "version": "15.2.3",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.15.0"
6
6
  },
@@ -13,14 +13,14 @@
13
13
  <div class="row row-cols-2 row-cols-lg-3 row-cols-xl-4 g-4 mb-4">
14
14
  {{{ each uploads }}}
15
15
  <div class="" data-name="{./name}">
16
- <div class="card h-100">
17
- <div class="card-body d-flex flex-column justify-content-between">
18
- <div class="mb-2 text-center d-flex flex-column justify-content-center gap-2 flex-grow-1">
19
- <a class="d-flex align-items-center justify-content-center text-sm" href="{config.relative_path}{./url}" target="_blank">
16
+ <div class="card h-100 border-0">
17
+ <div class="card-body p-1 d-flex flex-column justify-content-between">
18
+ <div class="mb-2 text-center d-flex flex-column justify-content-start gap-2 flex-grow-1">
19
+ <a class="d-flex align-items-center p-1 rounded-3 bg-light border justify-content-center text-sm" href="{config.relative_path}{./url}" target="_blank" style="width: 100%; height: auto; aspect-ratio: 1;">
20
20
  {{{ if ./isImage}}}
21
- <img src="{config.relative_path}{./url}" class="img-fluid rounded mb-2" alt="{./name}" style="width:auto; height: auto; max-height: 8rem; object-fit: contain;">
21
+ <img src="{config.relative_path}{./url}" class="rounded img-fluid" alt="{./name}" style="width: 100%; height: auto; aspect-ratio:1; object-fit: cover;">
22
22
  {{{ else }}}
23
- <div class="d-flex align-items-center justify-content-center" style="width:auto; height: auto; max-height: 8rem; object-fit: contain;">
23
+ <div class="d-flex align-items-center justify-content-center" style="width: 100%; height: auto; aspect-ratio:1; object-fit: cover;">
24
24
  <i class="fa-regular fa-file-lines fa-4x mb-2 text-secondary" ></i>
25
25
  </div>
26
26
  {{{ end }}}