astro-better-cards 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/ChildCards.astro +3 -3
  2. package/package.json +1 -1
package/ChildCards.astro CHANGED
@@ -125,14 +125,14 @@ if (depth === 1) {
125
125
  ---
126
126
 
127
127
  {depth === 1 ? (
128
- <div class="gap-6 mt-6 grid grid-cols-1 not-prose lg:grid-cols-2" xmlns="http://www.w3.org/1999/xhtml">
128
+ <div class="gap-6 mt-6 mb-6 grid grid-cols-1 not-prose lg:grid-cols-2" xmlns="http://www.w3.org/1999/xhtml">
129
129
  {items.map(item => (
130
130
  <Card href={item.href} title={item.title} description={item.description}
131
131
  icon={item.icon} darkIcon={item.darkIcon} cardImage={item.cardImage} variant="full" />
132
132
  ))}
133
133
  </div>
134
134
  ) : (
135
- <Fragment>
135
+ <div class="mb-6">
136
136
  {groups.map(group => (
137
137
  <Fragment>
138
138
  <h2 class="mt-10 mb-2 text-xl font-semibold not-prose" set:html={group.title} />
@@ -144,5 +144,5 @@ if (depth === 1) {
144
144
  </div>
145
145
  </Fragment>
146
146
  ))}
147
- </Fragment>
147
+ </div>
148
148
  )}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-better-cards",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./Card.astro": "./Card.astro",