richie-education 2.34.1-dev30 → 2.34.1-dev33

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.34.1-dev30",
3
+ "version": "2.34.1-dev33",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {
@@ -241,13 +241,9 @@
241
241
  display: none;
242
242
  position: absolute;
243
243
  transform: translateX(-8px);
244
+ width: max-content;
244
245
  max-width: 100%;
245
246
 
246
- &--full-width {
247
- left: 0;
248
- transform: inherit;
249
- }
250
-
251
247
  & > ul[role='menu'] {
252
248
  display: flex;
253
249
  flex-wrap: wrap;
@@ -268,6 +264,15 @@
268
264
  color: var(--active-text-color);
269
265
  }
270
266
  }
267
+
268
+ &--full-width {
269
+ left: 0;
270
+ transform: inherit;
271
+ }
272
+
273
+ &--position-right {
274
+ transform: translateX(calc(-100% + (var(--button-width) + 8px)));
275
+ }
271
276
  }
272
277
  }
273
278
  }