Apply dark-widgets-workaround style for win32 only for gtk2 builds
This commit is contained in:
parent
8ddc7ac787
commit
627f367837
1 changed files with 1 additions and 1 deletions
|
@ -1231,7 +1231,7 @@ midori_web_settings_init (MidoriWebSettings* web_settings)
|
||||||
"* { -webkit-box-shadow: none !important; }");
|
"* { -webkit-box-shadow: none !important; }");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (_WIN32) && WEBKIT_CHECK_VERSION (1, 7, 1)
|
#if defined (_WIN32) && WEBKIT_CHECK_VERSION (1, 7, 1) && !GTK_CHECK_VERSION (3, 0, 0)
|
||||||
/* Try to work-around black borders on native widgets and GTK+2 on Win32 */
|
/* Try to work-around black borders on native widgets and GTK+2 on Win32 */
|
||||||
midori_web_settings_add_style (web_settings, "black-widgets-workaround",
|
midori_web_settings_add_style (web_settings, "black-widgets-workaround",
|
||||||
"input[type='checkbox'] { -webkit-appearance: checkbox !important }"
|
"input[type='checkbox'] { -webkit-appearance: checkbox !important }"
|
||||||
|
|
Loading…
Reference in a new issue