@playpilot/tpi 8.38.0 → 8.38.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "8.38.0",
3
+ "version": "8.38.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -61,11 +61,13 @@
61
61
  {description}
62
62
  </p>
63
63
 
64
- <div class="read-more">
65
- <Button variant="link" onclick={() => descriptionExpanded = !descriptionExpanded}>
66
- {descriptionExpanded ? t('Read Less') : t('Read More')}
67
- </Button>
68
- </div>
64
+ {#if !small}
65
+ <div class="read-more">
66
+ <Button variant="link" onclick={() => descriptionExpanded = !descriptionExpanded}>
67
+ {descriptionExpanded ? t('Read Less') : t('Read More')}
68
+ </Button>
69
+ </div>
70
+ {/if}
69
71
  {/if}
70
72
  </div>
71
73
  </div>
@@ -172,6 +174,11 @@
172
174
  &.expanded {
173
175
  display: block;
174
176
  }
177
+
178
+ .small & {
179
+ font-size: theme(font-size-small);
180
+ line-height: 1.5;
181
+ }
175
182
  }
176
183
 
177
184
  .read-more {