@trafilea/afrodita-components 6.36.6 → 6.36.7

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/build/index.js CHANGED
@@ -20971,7 +20971,7 @@ var ContentGallery = function (_a) {
20971
20971
  var cssGap = 8;
20972
20972
  var photoSize = 375.41 * cssZoom;
20973
20973
  var photosPerScreen = width / photoSize;
20974
- var totalGap = Math.floor(photosPerScreen) * cssGap;
20974
+ var totalGap = Math.floor(photosPerScreen) * cssGap * 2;
20975
20975
  return ((width + width * 0.0001 * (width > 380 ? 10 : -10) - paddingWidth - totalGap) / photoSize);
20976
20976
  }
20977
20977
  var slidesToShow = (_b = calcSlidesToShow()) !== null && _b !== void 0 ? _b : 1;
@@ -21128,8 +21128,10 @@ var Slider = function (_a) {
21128
21128
  var Container$5 = newStyled.div({
21129
21129
  background: 'var(--truekind-default-secondary, #292929)',
21130
21130
  minHeight: '100vh',
21131
+ height: '100%',
21131
21132
  width: '100vw',
21132
- position: 'absolute',
21133
+ position: 'fixed',
21134
+ overflowY: 'scroll',
21133
21135
  zIndex: '99999',
21134
21136
  top: 0,
21135
21137
  left: 0,
@@ -21139,9 +21141,20 @@ var Container$5 = newStyled.div({
21139
21141
  });
21140
21142
  var SubContainer = newStyled.div({
21141
21143
  maxWidth: '480px',
21144
+ marginTop: '105px',
21142
21145
  '@media screen and (min-width: 480px)': {
21143
21146
  margin: '0 auto',
21144
- }
21147
+ },
21148
+ '@media screen and (max-height: 640px)': {
21149
+ position: 'relative',
21150
+ },
21151
+ '@media screen and (max-height: 740px)': {
21152
+ marginTop: '0px',
21153
+ },
21154
+ '@media screen and (min-width: 380px) and (max-width: 400px) and (max-height: 860px) ': {
21155
+ position: 'relative',
21156
+ marginTop: '0px',
21157
+ },
21145
21158
  });
21146
21159
  var Header$1 = newStyled.div({
21147
21160
  display: 'flex',
@@ -21149,15 +21162,9 @@ var Header$1 = newStyled.div({
21149
21162
  alignItems: 'center',
21150
21163
  color: 'white',
21151
21164
  padding: '1.2rem',
21152
- position: 'absolute',
21165
+ zIndex: 4,
21153
21166
  top: 0,
21154
21167
  right: 0,
21155
- '@media screen and (max-height: 640px)': {
21156
- position: 'relative',
21157
- },
21158
- '@media screen and (min-width: 380px) and (max-width: 400px) and (max-height: 860px) ': {
21159
- position: 'relative',
21160
- }
21161
21168
  });
21162
21169
  var IconContainer = newStyled.div({
21163
21170
  backgroundColor: '#E5E5E5',