diff options
-rw-r--r-- | res/ua.css | 4 | ||||
-rw-r--r-- | src/css/values.nim | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/res/ua.css b/res/ua.css index c44d783d..08107420 100644 --- a/res/ua.css +++ b/res/ua.css @@ -16,8 +16,8 @@ textarea, tt, var, font, iframe, u, s, strike, frame, input, img { display: inline-block; } -ol, ul { - margin-left: 3ch; +ol, ul, menu, dir { + margin-left: 2ch; } table { diff --git a/src/css/values.nim b/src/css/values.nim index b55869f7..c7f7a5b7 100644 --- a/src/css/values.nim +++ b/src/css/values.nim @@ -131,9 +131,9 @@ func cells*(l: CSSLength): int = func listMarker*(t: CSSListStyleType, i: int): string = case t of LIST_STYLE_TYPE_NONE: return "" - of LIST_STYLE_TYPE_DISC: return "* " - of LIST_STYLE_TYPE_CIRCLE: return "o " - of LIST_STYLE_TYPE_SQUARE: return "O " + of LIST_STYLE_TYPE_DISC: return "• " + of LIST_STYLE_TYPE_CIRCLE: return "○ " + of LIST_STYLE_TYPE_SQUARE: return "□ " of LIST_STYLE_TYPE_DECIMAL: return $i & ". " of LIST_STYLE_TYPE_JAPANESE_INFORMAL: return japaneseNumber(i) & "、" |