diff --git a/doc/style.css b/doc/style.css index e815a15..13cef97 100644 --- a/doc/style.css +++ b/doc/style.css @@ -26,8 +26,8 @@ pre { overflow-x: scroll; } .snac-btn-unlimit { float: right; margin-left: 0.5em } .snac-footer { margin-top: 2em; font-size: 75% } .snac-poll-result { margin-left: auto; margin-right: auto; } -.snac-list-of-lists { display: flex; list-style: none; padding-left: 0; } -.snac-list-link { border: 1px solid #a0a0a0; border-radius: 25px; +.snac-list-of-lists { padding-left: 0; } +.snac-list-of-lists li { display: inline; border: 1px solid #a0a0a0; border-radius: 25px; margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; } @media (prefers-color-scheme: dark) { body, input, textarea { background-color: #000; color: #fff; } diff --git a/utils.c b/utils.c index 760342e..e9ec251 100644 --- a/utils.c +++ b/utils.c @@ -69,8 +69,8 @@ static const char *default_css = ".snac-btn-unlimit { float: right; margin-left: 0.5em }\n" ".snac-footer { margin-top: 2em; font-size: 75% }\n" ".snac-poll-result { margin-left: auto; margin-right: auto; }\n" - ".snac-list-of-lists { display: flex; list-style: none; padding-left: 0; }\n" - ".snac-list-link { border: 1px solid #a0a0a0; border-radius: 25px;\n" + ".snac-list-of-lists { padding-left: 0; }\n" + ".snac-list-of-lists li { display: inline; border: 1px solid #a0a0a0; border-radius: 25px;\n" " margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }\n" "@media (prefers-color-scheme: dark) { \n" " body, input, textarea { background-color: #000; color: #fff; }\n"