pxt-core 13.1.18 → 13.1.20

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": "pxt-core",
3
- "version": "13.1.18",
3
+ "version": "13.1.20",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
package/theme/monaco.less CHANGED
@@ -19,6 +19,8 @@
19
19
 
20
20
  .monacoToolboxDiv {
21
21
  height: 100%;
22
+ /* Prevent large category lists from expanding the page scroll bounds. */
23
+ contain: paint;
22
24
  }
23
25
 
24
26
  .monacoEditorRightArea {
@@ -1,6 +1,8 @@
1
1
  .image-editor-gallery.song {
2
2
  display: flex;
3
3
  flex-direction: column;
4
+ flex-wrap: balance;
5
+ align-items: center;
4
6
  align-content: center;
5
7
  justify-content: unset;
6
8
  padding: 0.5rem;
@@ -15,11 +17,12 @@
15
17
  padding: 0.5rem;
16
18
  width: 100%;
17
19
  height: 4rem;
20
+ flex-shrink: 0;
18
21
 
19
22
  background-color: var(--pxt-neutral-background1);
20
23
  color: var(--pxt-neutral-foreground1);
21
24
  border-radius: 0.25rem;
22
- max-width: 500px;
25
+ max-width: 440px;
23
26
  gap: 1rem;
24
27
 
25
28
  .song-gallery-item-name {
@@ -94,4 +97,10 @@
94
97
  outline-offset: 5px;
95
98
  }
96
99
  }
100
+ }
101
+
102
+ @media @tabletAndBelow {
103
+ .image-editor-gallery.song {
104
+ flex-wrap: nowrap;
105
+ }
97
106
  }
@@ -272,6 +272,9 @@
272
272
  padding-right: 0.25rem;
273
273
  background-color: var(--white-key-color);
274
274
  color: var(--key-text-color);
275
+ white-space: nowrap;
276
+ text-overflow: ellipsis;
277
+ overflow-x: hidden;
275
278
 
276
279
  &.active,
277
280
  &.playing {