From 0b0646faa39476813cc30d570d8a13f521fd2424 Mon Sep 17 00:00:00 2001 From: Felix Date: Sat, 28 Dec 2019 00:53:58 +0800 Subject: [PATCH] fix code padding, some translation --- assets/sass/pages/_single.scss | 4 ++++ i18n/zh.toml | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/sass/pages/_single.scss b/assets/sass/pages/_single.scss index d1dfc85..fe7b19e 100644 --- a/assets/sass/pages/_single.scss +++ b/assets/sass/pages/_single.scss @@ -372,6 +372,10 @@ pre:not(.chroma) { background: themed('content-pre-header-background-color'); } } + + code { + padding: 0; + } } .highlight > .chroma { diff --git a/i18n/zh.toml b/i18n/zh.toml index 90ddc41..1c7d402 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -56,13 +56,13 @@ other = "消息" other = "发送" [tooltip-home] -other = "Home" +other = "主页" [tooltip-written] -other = "Written At" +other = "创建日期" [tooltip-modified] -other = "Modified At" +other = "更新日期" [tooltip-reading-time] -other = "Reading Time" \ No newline at end of file +other = "阅读时长" \ No newline at end of file