From: nana-4 Date: Mon, 2 Sep 2019 16:44:55 +0000 (+0900) Subject: node editor: Avoid inheriting textview styles X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~709^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3eec90cdc03fec88e237f671d4f13bd761ea24f8;p=gtk4.git 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 --- 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);" "}" ;