@wordpress/base-styles 6.16.0 → 6.16.1-next.v.202602200903.0

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.
Files changed (2) hide show
  1. package/_mixins.scss +8 -6
  2. package/package.json +2 -2
package/_mixins.scss CHANGED
@@ -224,15 +224,17 @@
224
224
  @mixin snackbar-container() {
225
225
  position: fixed;
226
226
  bottom: 24px;
227
- left: 50%;
228
- right: auto;
229
- transform: translateX(-50%);
230
- width: max-content;
231
- max-width: calc(100vw - 32px);
227
+ left: 0;
228
+ right: 0;
229
+ padding-inline: 16px;
232
230
  box-sizing: border-box;
233
231
  display: flex;
234
232
  flex-direction: column;
235
- align-items: center;
233
+ pointer-events: none;
234
+
235
+ .components-snackbar {
236
+ margin-inline: auto;
237
+ }
236
238
  }
237
239
 
238
240
  // These are additional styles for all captions, when the theme opts in to block styles.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "6.16.0",
3
+ "version": "6.16.1-next.v.202602200903.0+06edfb869",
4
4
  "description": "Base SCSS utilities and variables for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "376124aa10dbc2cc0c81c964ec00b99fcfee5382"
48
+ "gitHead": "6e225a6505fdc8e407305851c7a68b781dee8118"
49
49
  }