From 3eec90cdc03fec88e237f671d4f13bd761ea24f8 Mon Sep 17 00:00:00 2001 From: nana-4 Date: Tue, 3 Sep 2019 01:44:55 +0900 Subject: [PATCH] node editor: Avoid inheriting textview styles ...to its descendant selectors Without ">", "text" style is propagated to entry in the emoji chooser. https://gitlab.gnome.org/GNOME/gtk/issues/2061 --- demos/node-editor/node-editor-application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/node-editor/node-editor-application.c b/demos/node-editor/node-editor-application.c index d4d65f964f..fd80787ce2 100644 --- a/demos/node-editor/node-editor-application.c +++ b/demos/node-editor/node-editor-application.c @@ -26,9 +26,9 @@ static const char *css = "textview.editor {" " color: rgb(192, 197, 206);" -" caret-color: white;" +" caret-color: currentColor;" "}" -"textview.editor text {" +"textview.editor > text {" " background-color: rgb(43, 48, 59);" "}" ;