jekyll-theme-dashboard 0.0.1 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52c412e29e47f09672ca6ba07e851cf55f4468dc43a49e15c250d0bcc5c9f875
4
- data.tar.gz: 25e718246e4aa0826415cde782b2a1320943b3e20c4fa8a79dd1062f6aceb48b
3
+ metadata.gz: 27930cbf3a891b8b6f01a796c11b7ec864364036e3dffaab59e96bfda8ca14b6
4
+ data.tar.gz: cb8021860bf720fb043f52cbce4f44e6f8eca41caff5a063983e0a4cc86ff152
5
5
  SHA512:
6
- metadata.gz: f179d6b8411a9256e0cc4b3e719d22b3eacc8ea9c5557a381cfec50742777007c512899257c6f29fb890565ab0ae22f6378550e5a32bb2b807b66fa1b2f7d66c
7
- data.tar.gz: 5aeea56608c9365e5302c7b17907918eca47c1404a2c833d3529a581daadbf84b4db3415f1706ad72170b7be98b385946ee26e5f3c39dd94daf25bf4caf4cd0a
6
+ metadata.gz: 16d8a6019779a2d4fbebabdb8176b680f11a97516bfe8f67935770e965c5e78f3d8735398f45836b08cdccc9cd545c236b474ceeadad73b834dc8204936f77a4
7
+ data.tar.gz: 0c5bfc1cd2f462729305a07104c7c8495eb9c9986e054ee67acf63f30c53d0859af2c1c62c2eade724cb8fd0ddcfb8294482ff467e7d6c5b23aa4b12022741c3
data/README.md CHANGED
@@ -160,7 +160,9 @@ The theme displays information as a series of grouped cards, which must be speci
160
160
  # (ONLY USED WHEN TYPE IS "custom": the HTML file from the `_include` directory that provides the card body contents)
161
161
  include: custom-card-body.html
162
162
 
163
- # (OPTIONAL, AND ONLY USED WHEN TYPE IS "custom": a custom CSS class to add to the card body, defaults to no class)
163
+ # (OPTIONAL, AND ONLY USED WHEN TYPE IS "custom": CSS classes to add to the card, its header and its body, all default to no class)
164
+ card-class: my-custom-class
165
+ header-class: my-custom-class
164
166
  body-class: my-custom-class
165
167
  ```
166
168
 
@@ -177,8 +177,8 @@
177
177
 
178
178
  {% when "custom" %}
179
179
 
180
- <div class="card">
181
- <h2 class="card-header">{{ card.name | escape }}</h2>
180
+ <div class="card{% if card.card-class %} {{ card.card-class | escape }}{% endif %}">
181
+ <h2 class="card-header{% if card.header-class %} {{ card.header-class | escape }}{% endif %}">{{ card.name | escape }}</h2>
182
182
  <div class="card-body{% if card.body-class %} {{ card.body-class | escape }}{% endif %}">
183
183
  {% include {{ card.include }} %}
184
184
  </div>
data/_sass/_layout.scss CHANGED
@@ -41,7 +41,9 @@ html, body
41
41
 
42
42
  .related
43
43
  {
44
- width: 50%;
44
+ width: fit-content;
45
+ min-width: 50%;
46
+ max-width: calc(100vw - 4rem);
45
47
  padding-bottom: 0.5rem;
46
48
  }
47
49
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-dashboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TensorWorks Pty Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-23 00:00:00.000000000 Z
11
+ date: 2026-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll