Skip to content

Commit

Permalink
Merge branch 'hint-develop-merged' of github.com:bluewave-labs/bluewa…
Browse files Browse the repository at this point in the history
…ve-onboarding into hint-develop-merged
  • Loading branch information
DeboraSerra committed Dec 18, 2024
2 parents 537b53f + 566e291 commit b785608
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/DropdownList/DropdownList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const DropdownList = ({
value={selectedAction}
onChange={handleChange}
className={`select ${className}`}
sx={{marginTop: 1 }}
>
{actions.length > 0 ? (
actions.map((action, index) => (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/products/Popup/PopupComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const PopupComponent = ({
style={{
backgroundColor: buttonBackgroundColor,
color: buttonTextColor,
margin: "1rem",
marginRight: "1rem",
}}
text={previewBtnText}
onClick={handleButtonClick} // Add onClick handler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
h2{
@include text-style(regular);
margin-top: 1.5rem;
margin-bottom: 10px;
}
.color{
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const BannerLeftContent = ({
onActionChange={handleActionChange}
selectedActionString={buttonAction}
/>
<h2>Position</h2>
<h2 style={{ marginBottom: '10px'}}>Position</h2>
<div className={styles.radioContent}>
<RadioButton
label='Top (centered)'
Expand All @@ -55,14 +55,14 @@ const BannerLeftContent = ({
/>
</div>

<h2 style={{ marginBottom: 0, marginTop: "1.2rem" }}>URL</h2>
<h2>URL</h2>
<CustomTextField
TextFieldWidth='241px'
value={url}
onChange={handleSetUrl}
/>

<h2 style={{ marginBottom: 0, marginTop: "1.2rem" }}>Action URL</h2>
<h2>Action URL</h2>
<CustomTextField
TextFieldWidth='241px'
value={actionUrl}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
h2{
@include text-style(regular);
margin-top: 1.5rem;
margin-bottom: 0;
}
h3{
@include text-style(regular);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const PopupAppearance = ({ data = [], setPopupSize, popupSize }) => {
</div>
</div>
))}
<h2 style={{ marginBottom: '1rem' }}>Popup Size</h2>
<h2 style={{ marginBottom: 0 }}>Popup Size</h2>
<DropdownList
actions={['Small', 'Medium', 'Large']}
onActionChange={handleActionChange}
Expand Down

0 comments on commit b785608

Please sign in to comment.