@playpilot/tpi 8.40.0-beta.1 → 8.40.0-beta.2

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.40.0-beta.1",
3
+ "version": "8.40.0-beta.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -48,13 +48,13 @@
48
48
  }
49
49
  </script>
50
50
 
51
- <div class="header" class:small>
51
+ <div class="header" class:small class:no-image={!participant.image}>
52
52
  {#if participant.image}
53
53
  <ParticipantImage {participant} />
54
54
  {/if}
55
55
 
56
56
  <div>
57
- <div class="heading" class:no-image={!participant.image} use:heading={2} id="heading">{name}</div>
57
+ <div class="heading" use:heading={2} id="heading">{name}</div>
58
58
 
59
59
  {#if description}
60
60
  <p class="description" class:expanded={descriptionExpanded}>
@@ -116,6 +116,10 @@
116
116
  padding: margin(1) margin(1) 0;
117
117
  align-items: center;
118
118
  }
119
+
120
+ &.no-image {
121
+ display: block;
122
+ }
119
123
  }
120
124
 
121
125
  .heading {
@@ -130,7 +134,7 @@
130
134
  font-size: theme(detail-title-small-font-size, margin(1.25));
131
135
  }
132
136
 
133
- &.no-image {
137
+ .no-image & {
134
138
  margin-top: margin(0.5);
135
139
  }
136
140