From e9065db9d56480cb951b2cc9b1e9f053c7d8682f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 23 Oct 2023 09:34:14 +0530 Subject: [PATCH] Change color of title rather than value in edit table --- src/pyj/book_list/edit_metadata.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/book_list/edit_metadata.pyj b/src/pyj/book_list/edit_metadata.pyj index 0bc0f6a8f6..2848831156 100644 --- a/src/pyj/book_list/edit_metadata.pyj +++ b/src/pyj/book_list/edit_metadata.pyj @@ -49,7 +49,7 @@ add_extra_css(def(): style = basic_table_rules(sel) style += build_rule(sel + 'table.metadata', margin_left='1rem') style += build_rule(sel + 'table.metadata td', padding_bottom='0.5ex', padding_top='0.5ex', cursor='pointer') - style += build_rule(sel + 'table.metadata tr:hover', color='green') + style += build_rule(sel + 'table.metadata tr:hover td:first-of-type', color='green') style += build_rule(sel + 'table.metadata tr:active', transform='scale(1.5)') style += build_rule(sel + '.completions', display='flex', flex_wrap='wrap', align_items='center', margin_bottom='0.5ex')