diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-04 15:17:07 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-04 15:17:07 (EDT) |
commit | d7c7eefd5c17da24ac19e37689bfa609ca69fef6 (patch) | |
tree | 79d0b53162732d9a24570c6c3cdb70413d0e00bf /src | |
parent | ebd2cbbf04d57e07e3f3c5ac361996746601479c (diff) | |
download | marquee-d7c7eefd5c17da24ac19e37689bfa609ca69fef6.zip marquee-d7c7eefd5c17da24ac19e37689bfa609ca69fef6.tar.gz marquee-d7c7eefd5c17da24ac19e37689bfa609ca69fef6.tar.bz2 |
src/utils/html.c: Select profile save button by psuedo-class
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/html.c | 5 |
1 files changed, 3 insertions, 2 deletions
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" |