From d7c7eefd5c17da24ac19e37689bfa609ca69fef6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 04 Nov 2017 15:17:07 -0400 Subject: src/utils/html.c: Select profile save button by psuedo-class --- diff --git a/src/utils/html.c b/src/utils/html.c index 0f44a44..4c22221 100644 --- a/src/utils/html.c +++ b/src/utils/html.c @@ -234,7 +234,7 @@ static const gchar *styles = "div.profile > label > span {\n" "margin: 0;\n" "}\n" - "div.profile > input[type=submit].save {\n" + "div.profile > input[type=submit]:last-child {\n" "display: none;\n" "}\n" "div.profile > input[type=radio]:checked ~ span {\n" @@ -246,7 +246,8 @@ static const gchar *styles = "div.profile > input[type=radio]:checked ~ label {\n" "display: none;\n" "}\n" - "div.profile > input[type=radio]:checked ~ input[type=submit].save {\n" + "div.profile > input[type=radio]:checked ~ " + "input[type=submit]:last-child {\n" "display: inline;\n" "}\n" "div.profile > label, div.profile > input[type=submit] {\n" -- cgit v0.9.1