Use display: flow-root

This commit is contained in:
Mimi 2020-06-07 22:55:49 +08:00
parent 8e080e7e27
commit ec2bf48b94
2 changed files with 2 additions and 7 deletions

View File

@ -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;

View File

@ -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 {