@shoplflow/base 0.26.3 → 0.26.4

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/dist/index.js CHANGED
@@ -699,18 +699,18 @@ var getModalWidthFromSize = (size2) => {
699
699
  }
700
700
  };
701
701
  var getModalBodyTopBottomPadding = (isIncludeHeader, sizeVar) => {
702
- if (isIncludeHeader) {
703
- return css`
704
- padding-top: 16px;
705
- padding-bottom: 24px;
706
- `;
707
- }
708
702
  if (sizeVar === "FULL") {
709
703
  return css`
710
704
  padding-top: 0;
711
705
  padding-bottom: 0;
712
706
  `;
713
707
  }
708
+ if (isIncludeHeader) {
709
+ return css`
710
+ padding-top: 16px;
711
+ padding-bottom: 24px;
712
+ `;
713
+ }
714
714
  return css`
715
715
  padding-top: 24px;
716
716
  padding-bottom: 24px;
@@ -776,7 +776,7 @@ var BodyContainer = styled6.div`
776
776
  min-height: ${({ minHeight }) => minHeight}px;
777
777
  max-height: ${({ maxHeight }) => maxHeight}px;
778
778
  flex: 1;
779
- ${({ isIncludeHeader, sizeVar }) => getModalBodyTopBottomPadding(isIncludeHeader, sizeVar)}
779
+ ${({ isIncludeHeader, sizeVar }) => getModalBodyTopBottomPadding(isIncludeHeader, sizeVar)};
780
780
  `;
781
781
  var ModalBodyContainerInner = styled6.div`
782
782
  display: grid;