Quickfix Graph Editor styles (#11746)

A @jdunkerley 's propsal of fixing issue [#11728](https://github.com/enso-org/enso/issues/11728)

![image](https://github.com/user-attachments/assets/74da5807-7bac-4c18-a86a-c068cc19632f)
This commit is contained in:
Adam Obuchowicz 2024-12-03 15:36:31 +01:00 committed by GitHub
parent caeaf413b5
commit 48c3c7fffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -512,7 +512,7 @@ const backwardEdgeArrowTransform = computed<string | undefined>(() => {
const arrowHeight = 9
const arrowYOffset = 0
const arrowTransform = computed<string | undefined>(() => {
const arrowTopOffset = 4
const arrowTopOffset = 1
const arrowWidth = 12
const target = targetPos.value
if (target == null) return

View File

@ -639,7 +639,7 @@ const showMenuAt = ref<{ x: number; y: number }>()
transition: box-shadow 0.2s ease-in-out;
box-sizing: border-box;
/** Space between node and component above and below, such as comments and errors. */
--node-vertical-gap: 4px;
--node-vertical-gap: 5px;
--color-node-primary: var(--node-group-color);
--node-color-port: color-mix(in oklab, var(--color-node-primary) 85%, white 15%);

View File

@ -32,6 +32,7 @@ syncRef(editing, useFocusDelayed(textEditorContent).focused)
min-width: 22px;
border-radius: var(--radius-default);
background-color: var(--node-color-no-type);
opacity: 0.8;
color: var(--color-text-inversed);
font-weight: 400;
}