mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Use display: flow-root
This commit is contained in:
parent
8e080e7e27
commit
ec2bf48b94
@ -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;
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user