Skip to content

Commit

Permalink
Move warning msg below viz (#10546)
Browse files Browse the repository at this point in the history
  • Loading branch information
farmaazon authored Jul 13, 2024
1 parent aaa3495 commit bfb1d8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
node being completely altered by accidental code put to the widget.
- [Redesigned "record control" panel][10509]. Now it contains more intuitive
"refresh" and "run workflow" buttons.
- [Warning messages do not obscure visualization buttons][10546].

[10433]: https://github.com/enso-org/enso/pull/10443
[10457]: https://github.com/enso-org/enso/pull/10457
[10509]: https://github.com/enso-org/enso/pull/10509
[10546]: https://github.com/enso-org/enso/pull/10546

#### Enso Enso Standard Library

Expand Down
10 changes: 2 additions & 8 deletions app/gui2/src/components/GraphEditor/GraphNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ watchEffect(() => {
</svg>
<SmallPlusButton
v-if="menuVisible && isVisualizationVisible"
class="below-viz"
class="afterNode"
@createNodes="emit('createNodes', $event)"
/>
</div>
Expand Down Expand Up @@ -665,6 +665,7 @@ watchEffect(() => {
position: absolute;
top: 100%;
margin-top: 4px;
transform: translateY(var(--viz-below-node));
}
.messageWithMenu {
Expand Down Expand Up @@ -705,11 +706,4 @@ watchEffect(() => {
.dragged {
cursor: grabbing !important;
}
.below-viz {
position: absolute;
top: 100%;
transform: translateY(var(--viz-below-node));
margin-top: 4px;
}
</style>

0 comments on commit bfb1d8e

Please sign in to comment.