diff --git a/source/css/_common/components/reading-progress.styl b/source/css/_common/components/reading-progress.styl index a8fdd9e..84e0944 100644 --- a/source/css/_common/components/reading-progress.styl +++ b/source/css/_common/components/reading-progress.styl @@ -1,6 +1,5 @@ .reading-progress-bar { background: unquote(hexo-config('reading_progress.color')); - display: block; height: unquote(hexo-config('reading_progress.height')); left: 0; position: fixed; diff --git a/source/css/_common/scaffolding/highlight/highlight.styl b/source/css/_common/scaffolding/highlight/highlight.styl index 7995430..44d623d 100644 --- a/source/css/_common/scaffolding/highlight/highlight.styl +++ b/source/css/_common/scaffolding/highlight/highlight.styl @@ -65,23 +65,19 @@ kbd { figcaption { background: var(--highlight-gutter-background); color: var(--highlight-foreground); - display: flex; + display: flow-root; font-size: $table-font-size; - justify-content: space-between; line-height: 1.2; padding: .5em; a { color: var(--highlight-foreground); + float: right; &:hover { border-bottom-color: var(--highlight-foreground); } } - - a, span { - min-width: 0; - } } .gutter {