Skip to content

Commit b90e507

Browse files
authored
Merge pull request #341 from adzhindzhi/uepr-385-sprite-on-stage-not-clickable
[UEPR-385] Fix sprites issues when extension button tooltip is displayed
2 parents d2afeb9 + 0559538 commit b90e507

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

packages/scratch-gui/src/components/alerts/alert.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "../../css/colors.css";
33
@import "../../css/z-index.css";
44

5-
.alert {
5+
body .alert {
66
width: 100%;
77
display: flex;
88
flex-direction: row;

packages/scratch-gui/src/components/cards/card.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
@import "../../css/colors.css";
33
@import "../../css/z-index.css";
44

5-
.card-container-overlay {
5+
body .card-container-overlay {
66
position: fixed;
77
pointer-events: none;
88
z-index: $z-index-card;
99
}
1010

11-
.card-container {
11+
body .card-container {
1212
position:absolute;
1313
pointer-events: auto;
1414
z-index: $z-index-card;

packages/scratch-gui/src/components/drag-layer/drag-layer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "../../css/colors.css";
33
@import "../../css/z-index.css";
44

5-
.drag-layer {
5+
body .drag-layer {
66
position: fixed;
77
pointer-events: none;
88
z-index: $z-index-drag-layer;

packages/scratch-gui/src/components/gui/gui.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
}
230230

231231
/* Sprite Selection Watermark */
232-
.watermark {
232+
body .watermark {
233233
position: absolute;
234234
top: 1.25rem;
235235
pointer-events: none;
@@ -251,7 +251,7 @@
251251
}
252252
/* Alerts */
253253

254-
.alerts-container {
254+
body .alerts-container {
255255
display: flex;
256256
justify-content: center;
257257
width: 100%;

packages/scratch-gui/src/components/monitor-list/monitor-list.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.monitor-list {
1+
body .monitor-list {
22
/* Width/height are set by the component, margin: auto centers in fullscreen */
33
margin: auto;
44
pointer-events: none;

packages/scratch-gui/src/components/monitor/monitor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "../../css/colors.css";
33
@import "../../css/z-index.css";
44

5-
.monitor-container {
5+
body .monitor-container {
66
position: absolute;
77
background: $ui-primary;
88
z-index: $z-index-monitor;

packages/scratch-gui/src/components/sprite-info/sprite-info.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
user-select: none;
4848
}
4949

50-
.icon {
50+
body .icon {
5151
width: 100%;
5252
height: 100%;
5353
pointer-events: none;

packages/scratch-gui/src/components/sprite-selector-item/sprite-selector-item.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
align-items: center;
5555
}
5656

57-
.sprite-image {
57+
body .sprite-image {
5858
user-select: none;
5959
pointer-events: none;
6060
max-width: 32px;

packages/scratch-gui/src/components/stage/stage.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
/* we want stage overlays to all be positioned in the same spot as the stage, but can't put them inside the border
5454
because we want their overflow to be visible, and the bordered element must have overflow: hidden set so that the
5555
stage doesn't "spill" out from under its rounded corners. instead, shift these over by the border width. */
56-
.stage-overlays {
56+
body .stage-overlays {
5757
position: absolute;
5858
top: $stage-standard-border-width;
5959
left: $stage-standard-border-width;
@@ -67,9 +67,9 @@ stage doesn't "spill" out from under its rounded corners. instead, shift these o
6767
left: $stage-full-screen-border-width;
6868
}
6969

70-
.monitor-wrapper,
71-
.frame-wrapper,
72-
.green-flag-overlay-wrapper {
70+
body .monitor-wrapper,
71+
body .frame-wrapper,
72+
body .green-flag-overlay-wrapper {
7373
position: absolute;
7474
top: 0;
7575
left: 0;
@@ -84,7 +84,7 @@ stage doesn't "spill" out from under its rounded corners. instead, shift these o
8484
filter: drop-shadow(5px 5px 5px $ui-black-transparent);
8585
}
8686

87-
.stage-bottom-wrapper {
87+
body .stage-bottom-wrapper {
8888
position: absolute;
8989
display: flex;
9090
flex-direction: column;

0 commit comments

Comments
 (0)