Skip to content

Commit bc517a8

Browse files
authored
Merge pull request #425 from HiEventsDev/develop
main <- develop
2 parents 6c77024 + d7b2fb4 commit bc517a8

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

frontend/src/components/routes/product-widget/SelectProducts/index.tsx

+11-11
Original file line numberDiff line numberDiff line change
@@ -253,16 +253,16 @@ const SelectProducts = (props: SelectProductsProps) => {
253253
let productIndex = 0;
254254

255255
return (
256-
(<div className={'hi-product-widget-container'}
257-
ref={resizeRef}
258-
style={{
259-
'--widget-background-color': props.colors?.background,
260-
'--widget-primary-color': props.colors?.primary,
261-
'--widget-primary-text-color': props.colors?.primaryText,
262-
'--widget-secondary-color': props.colors?.secondary,
263-
'--widget-secondary-text-color': props.colors?.secondaryText,
264-
'--widget-padding': props?.padding,
265-
} as React.CSSProperties}>
256+
<div className={'hi-product-widget-container'}
257+
ref={resizeRef}
258+
style={{
259+
'--widget-background-color': props.colors?.background,
260+
'--widget-primary-color': props.colors?.primary,
261+
'--widget-primary-text-color': props.colors?.primaryText,
262+
'--widget-secondary-color': props.colors?.secondary,
263+
'--widget-secondary-text-color': props.colors?.secondaryText,
264+
'--widget-padding': props?.padding,
265+
} as React.CSSProperties}>
266266
{!productAreAvailable && (
267267
<div className={classNames(['hi-no-products'])}>
268268
<p className={classNames(['hi-no-products-message'])}>
@@ -497,7 +497,7 @@ const SelectProducts = (props: SelectProductsProps) => {
497497
<PoweredByFooter style={{
498498
'color': props.colors?.primaryText || '#000',
499499
}}/>
500-
</div>)
500+
</div>
501501
);
502502
}
503503

frontend/src/styles/widget/default.scss

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
.hi-product-title-metadata {
5252
margin-left: 5px;
5353
font-weight: normal;
54+
display: flex;
5455
}
5556

5657
.hi-product-collapse-arrow {

0 commit comments

Comments
 (0)