vanilla-framework 3.7.0 → 3.7.1

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/package.json CHANGED
@@ -47,7 +47,7 @@
47
47
  "percy": "percy exec -- node snapshots.js",
48
48
  "icon-svgs-to-mixins": "node scripts/convert-svgs-to-icon-mixins.js icons"
49
49
  },
50
- "version": "3.7.0",
50
+ "version": "3.7.1",
51
51
  "files": [
52
52
  "_index.scss",
53
53
  "/scss",
@@ -191,12 +191,9 @@ $spv-navigation-logo: 0.3125rem;
191
191
  padding-right: 0;
192
192
 
193
193
  @media (min-width: $threshold-4-6-col) {
194
+ padding-left: map-get($grid-margin-widths, default);
194
195
  padding-right: 0;
195
196
  }
196
-
197
- @media (min-width: $breakpoint-navigation-threshold) {
198
- padding-left: map-get($grid-margin-widths, small);
199
- }
200
197
  }
201
198
 
202
199
  // Styles for old navigation logo
@@ -118,15 +118,19 @@
118
118
  [class*='p-side-navigation--'].is-drawer-expanded & {
119
119
  @extend %vf-has-box-shadow;
120
120
 
121
- animation: vf-p-side-navigation-expand map-get($animation-duration, brisk);
122
- transform: translateX(0);
121
+ @media (max-width: $threshold-6-12-col - 1px) {
122
+ animation: vf-p-side-navigation-expand map-get($animation-duration, brisk);
123
+ transform: translateX(0);
124
+ }
123
125
  }
124
126
 
125
127
  .p-side-navigation.is-collapsed &,
126
128
  .p-side-navigation.is-drawer-collapsed &,
127
129
  [class*='p-side-navigation--'].is-collapsed &,
128
130
  [class*='p-side-navigation--'].is-drawer-collapsed & {
129
- animation: vf-p-side-navigation-collapse map-get($animation-duration, brisk);
131
+ @media (max-width: $threshold-6-12-col - 1px) {
132
+ animation: vf-p-side-navigation-collapse map-get($animation-duration, brisk);
133
+ }
130
134
  }
131
135
 
132
136
  .p-side-navigation.is-drawer-hidden &,
@@ -3,7 +3,7 @@
3
3
  // Positions element out of flow & off screen for screen readers
4
4
  @mixin vf-u-off-screen {
5
5
  .u-off-screen {
6
- height: 1px !important;
6
+ height: 0 !important;
7
7
  left: -10000px !important;
8
8
  overflow: hidden !important;
9
9
  position: absolute !important;