Better styling for pane and KCL editor focus (#2691)

* Pane styling first steps

* More style tweaks

* Make pane background nearly opaque when focus is within them
This commit is contained in:
Frank Noirot
2024-06-18 12:42:47 -04:00
committed by GitHub
parent e42a891df8
commit 2386ba24e5
4 changed files with 94 additions and 83 deletions

View File

@ -46,7 +46,11 @@ export const ModelingPane = ({
data-testid={detailsTestId}
id={id}
className={
pointerEventsCssClass + styles.panel + ' group ' + (className || '')
'group-focus-within:border-primary dark:group-focus-within:border-chalkboard-50 ' +
pointerEventsCssClass +
styles.panel +
' group ' +
(className || '')
}
>
<ModelingPaneHeader title={title} Menu={Menu} />