@rileybathurst/paddle 0.0.106 → 0.0.108
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
|
@@ -130,7 +130,7 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
|
|
|
130
130
|
|
|
131
131
|
if (link.includes('http')) {
|
|
132
132
|
return (
|
|
133
|
-
|
|
133
|
+
<div className="location-wrapper">
|
|
134
134
|
<a href={link}
|
|
135
135
|
className={`location ${background}`}
|
|
136
136
|
target="_blank"
|
|
@@ -156,12 +156,12 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
|
|
|
156
156
|
|
|
157
157
|
/>
|
|
158
158
|
</a>
|
|
159
|
-
{name === "On Water Rental" ? <Phone phone={phone} /> : null}
|
|
160
|
-
|
|
159
|
+
{name === "On Water Rental" && phone ? <Phone phone={phone} /> : null}
|
|
160
|
+
</div>
|
|
161
161
|
)
|
|
162
162
|
}
|
|
163
163
|
return (
|
|
164
|
-
|
|
164
|
+
<div className="location-wrapper">
|
|
165
165
|
<Link
|
|
166
166
|
to={link}
|
|
167
167
|
className={`location ${background}`}
|
|
@@ -184,7 +184,7 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
|
|
|
184
184
|
season_end={season_end}
|
|
185
185
|
/>
|
|
186
186
|
</Link>
|
|
187
|
-
{name === "On Water Rental" ? <Phone phone={phone} /> : null}
|
|
188
|
-
|
|
187
|
+
{name === "On Water Rental" && phone ? <Phone phone={phone} /> : null}
|
|
188
|
+
</div>
|
|
189
189
|
)
|
|
190
190
|
}
|
package/src/styles/layout.css
CHANGED
|
@@ -221,8 +221,11 @@ header {
|
|
|
221
221
|
margin-block-end: var(--kilimanjaro);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
.location {
|
|
224
|
+
.location-wrapper {
|
|
225
225
|
max-width: var(--condor);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.location {
|
|
226
229
|
display: flex;
|
|
227
230
|
flex-flow: row wrap;
|
|
228
231
|
align-items: center;
|
|
@@ -251,7 +254,7 @@ header {
|
|
|
251
254
|
}
|
|
252
255
|
}
|
|
253
256
|
|
|
254
|
-
.location.false:not(:last-child) {
|
|
257
|
+
.location-wrapper.false:not(:last-child) {
|
|
255
258
|
border-block-end: 1px solid;
|
|
256
259
|
border-radius: 0;
|
|
257
260
|
}
|
package/src/styles/variables.css
CHANGED