Skip to content

Commit

Permalink
Visualization selector arrow is now more visible (#11800)
Browse files Browse the repository at this point in the history
  • Loading branch information
farmaazon authored Dec 6, 2024
1 parent 6d72a75 commit 6aa4c9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
be opened on OS X][11755].
- [Fix some UI elements drawing on top of visualization toolbar dropdown
menus][11768].
- [Arrows in some drop-down buttons are now clearly visible][11800]

[11151]: https://github.com/enso-org/enso/pull/11151
[11271]: https://github.com/enso-org/enso/pull/11271
Expand Down Expand Up @@ -88,6 +89,7 @@
[11753]: https://github.com/enso-org/enso/pull/11753
[11761]: https://github.com/enso-org/enso/pull/11761
[11768]: https://github.com/enso-org/enso/pull/11768
[11800]: https://github.com/enso-org/enso/pull/11800

#### Enso Standard Library

Expand Down
4 changes: 2 additions & 2 deletions app/gui/src/project-view/components/DropdownMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ const { floatingStyles } = useFloating(rootElement, floatElement, {
.arrow {
position: absolute;
bottom: -5px;
bottom: calc(-8px - var(--arrow-offset, 0px));
left: 50%;
opacity: 0.5;
opacity: 0.8;
/* Prevent the parent from receiving a pointerout event if the mouse is over the arrow, which causes flickering. */
pointer-events: none;
--icon-transform: translateX(-50%) rotate(90deg) scale(0.7);
Expand Down
1 change: 1 addition & 0 deletions app/gui/src/project-view/components/ExtendedMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const toggleDocumentationEditorShortcut = documentationEditorBindings.bindings.t

<style scoped>
.ExtendedMenu {
--arrow-offset: -5px;
background: var(--color-frame-bg);
border-radius: var(--radius-full);
margin: 0 12px 0 auto;
Expand Down

0 comments on commit 6aa4c9f

Please sign in to comment.