File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { StyledLabelChip } from 'neo4j-arc/common'
24
24
import { GraphStyleModel } from 'neo4j-arc/graph-visualization'
25
25
26
26
import { GrassEditor } from './GrassEditor'
27
+ import { StyledPopup } from './styled'
27
28
28
29
export type StyleableNodeLabelProps = {
29
30
selectedLabel : {
@@ -48,7 +49,7 @@ export function StyleableNodeLabel({
48
49
selectedLabel . label === '*' ? allNodesCount : selectedLabel . count
49
50
50
51
return (
51
- < Popup
52
+ < StyledPopup
52
53
on = "click"
53
54
basic
54
55
key = { selectedLabel . label }
@@ -68,6 +69,6 @@ export function StyleableNodeLabel({
68
69
}
69
70
>
70
71
< GrassEditor selectedLabel = { selectedLabel } />
71
- </ Popup >
72
+ </ StyledPopup >
72
73
)
73
74
}
Original file line number Diff line number Diff line change 17
17
* You should have received a copy of the GNU General Public License
18
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
*/
20
+ import { Popup , PopupProps } from 'semantic-ui-react'
20
21
import styled from 'styled-components'
21
22
22
23
export const legendRowHeight = 32
23
24
25
+ export const StyledPopup = styled < React . ComponentType < PopupProps > > ( Popup ) `
26
+ && {
27
+ background: ${ props => props . theme . editorBackground } ;
28
+ }
29
+ `
30
+
24
31
export const StyledInlineList = styled . ul `
25
32
list-style: none;
26
33
word-break: break-word;
You can’t perform that action at this time.
0 commit comments