hds-web 1.30.1 → 1.30.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.
package/package.json
CHANGED
@@ -37,7 +37,7 @@ export default function HomePageCarousel(props) {
|
|
37
37
|
|
38
38
|
const previousCard = () => {
|
39
39
|
let scrollByAmount = 1;
|
40
|
-
|
40
|
+
|
41
41
|
|
42
42
|
if (currentCard > 0) {
|
43
43
|
setCurrentCard(currentCard - scrollByAmount);
|
@@ -165,27 +165,27 @@ export default function HomePageCarousel(props) {
|
|
165
165
|
</div>
|
166
166
|
</div>
|
167
167
|
<div className="justify-center select-none items-center"
|
168
|
-
|
168
|
+
|
169
169
|
>
|
170
170
|
<div className="">
|
171
|
-
<div className={`snap-
|
171
|
+
<div className={`snap-center w-full inline-flex select-none overflow-x-hidden scrollbar-hide`}
|
172
172
|
ref={carouselRef}
|
173
173
|
>
|
174
174
|
|
175
175
|
{props.cards.map((item, i) => (
|
176
|
-
<div className="snap-center mx-5 shrink-0" key={i} ref={refs[i]}>
|
177
|
-
<div className="w-full select-none rounded-3xl object-contain">
|
176
|
+
<div className="snap-center first:ml-0 mx-5 shrink-0" key={i} ref={refs[i]}>
|
177
|
+
<div className="w-full snap-center select-none rounded-3xl object-contain">
|
178
178
|
{React.createElement(props.component, item)}
|
179
179
|
</div>
|
180
180
|
|
181
181
|
</div>
|
182
182
|
))}
|
183
|
-
{/* <div className="
|
183
|
+
{/* <div className="snap-center mx-5 shrink-0" key={totalCards}>
|
184
184
|
<div className="w-full select-none rounded-3xl object-contain">
|
185
185
|
{React.createElement(props.component, props.cards[0])}
|
186
186
|
</div>
|
187
187
|
</div> */}
|
188
|
-
|
188
|
+
|
189
189
|
|
190
190
|
</div>
|
191
191
|
</div>
|
@@ -194,4 +194,4 @@ export default function HomePageCarousel(props) {
|
|
194
194
|
|
195
195
|
</div>
|
196
196
|
);
|
197
|
-
};
|
197
|
+
};
|
@@ -36,7 +36,7 @@ export default function EventAgenda(props) {
|
|
36
36
|
}
|
37
37
|
{
|
38
38
|
list.description && (
|
39
|
-
<Typography textStyle="body1" className="text-neutral-700 [&>p]:pb-1 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800">
|
39
|
+
<Typography textStyle="body1" className="text-neutral-700 [&>p]:pb-1 [&>p>img]:my-6 [&>p>img]:max-w-[420px] [&>p>img]:w-full [&>p>img]:rounded-3xl last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800">
|
40
40
|
<ReactMarkdown>{list.description}</ReactMarkdown>
|
41
41
|
</Typography>
|
42
42
|
)
|