@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.cjs CHANGED
@@ -724,18 +724,18 @@ var getModalWidthFromSize = (size2) => {
724
724
  }
725
725
  };
726
726
  var getModalBodyTopBottomPadding = (isIncludeHeader, sizeVar) => {
727
- if (isIncludeHeader) {
728
- return react$1.css`
729
- padding-top: 16px;
730
- padding-bottom: 24px;
731
- `;
732
- }
733
727
  if (sizeVar === "FULL") {
734
728
  return react$1.css`
735
729
  padding-top: 0;
736
730
  padding-bottom: 0;
737
731
  `;
738
732
  }
733
+ if (isIncludeHeader) {
734
+ return react$1.css`
735
+ padding-top: 16px;
736
+ padding-bottom: 24px;
737
+ `;
738
+ }
739
739
  return react$1.css`
740
740
  padding-top: 24px;
741
741
  padding-bottom: 24px;
@@ -801,7 +801,7 @@ var BodyContainer = styled6__default.default.div`
801
801
  min-height: ${({ minHeight }) => minHeight}px;
802
802
  max-height: ${({ maxHeight }) => maxHeight}px;
803
803
  flex: 1;
804
- ${({ isIncludeHeader, sizeVar }) => getModalBodyTopBottomPadding(isIncludeHeader, sizeVar)}
804
+ ${({ isIncludeHeader, sizeVar }) => getModalBodyTopBottomPadding(isIncludeHeader, sizeVar)};
805
805
  `;
806
806
  var ModalBodyContainerInner = styled6__default.default.div`
807
807
  display: grid;