Skip to content

Commit

Permalink
Minor layout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrlarano committed May 6, 2024
1 parent ca2772a commit 9b34ef1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions lib/kits/core-ui/components/common/offer-overview.styl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
border-radius 10px
max-height calc(100% - 1rem)
overflow-y auto
border 1px solid rgba(0, 0, 0, 0.12)
box-shadow rgba(0, 0, 0, 0.4) 0px 1px 4px, rgba(0, 0, 0, 0.2) 0px 0px 1px

.sgn-products-texts-container
height 100%
Expand All @@ -159,16 +159,24 @@
flex 1 auto

.sgn-offer-heading
font-size 1.5em
font-size 1.8em

.sgn-offer-description
opacity 1

.sgn-offer-price
font-size 2.5em
font-weight 500

.sgn-offer-img
padding 1.25rem
border-radius 0
flex 1
width auto

>img
max-width 90%
max-height 90%

.sgn-offer-details-container
display flex
Expand Down Expand Up @@ -211,7 +219,7 @@
overflow hidden

.sgn-offer-product-quantity-content
display inline-block
display flex
border 1px solid rgba(0, 0, 0, 0.12)
border-radius 19.5px
overflow hidden
Expand Down
2 changes: 1 addition & 1 deletion lib/kits/core-ui/components/common/offer-overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const OfferOverview = ({
}) => {
template =
template?.innerHTML ||
(scriptEls.offerModalVersion === 2 && type === 'incito'
(scriptEls.offerModalVersion == 2 && type === 'incito'
? defaultTemplateV2
: defaultTemplate);
let container: HTMLDivElement | null = null;
Expand Down

0 comments on commit 9b34ef1

Please sign in to comment.