Fix recyclerBefore size
parent
eda3116f6a
commit
90d5dc5268
|
@ -28,8 +28,8 @@
|
||||||
>
|
>
|
||||||
<template #before>
|
<template #before>
|
||||||
<!-- Show dynamic top matter, name of the view -->
|
<!-- Show dynamic top matter, name of the view -->
|
||||||
<div class="recycler-before" ref="recyclerBefore"
|
<div class="recycler-before" ref="recyclerBefore">
|
||||||
v-show="!$refs.topmatter.type && list.length > 0">
|
<div class="text" v-show="!$refs.topmatter.type && list.length > 0">
|
||||||
{{ getViewName() }}
|
{{ getViewName() }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
:viewerManager="viewerManager"
|
:viewerManager="viewerManager"
|
||||||
@load="scrollerManager.adjust()">
|
@load="scrollerManager.adjust()">
|
||||||
</OnThisDay>
|
</OnThisDay>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot="{ item }">
|
<template v-slot="{ item }">
|
||||||
|
@ -1035,9 +1036,12 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) {
|
||||||
@include phone { padding-left: 40px; }
|
@include phone { padding-left: 40px; }
|
||||||
}
|
}
|
||||||
.recycler-before {
|
.recycler-before {
|
||||||
|
width: 100%;
|
||||||
|
> .text {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
padding-top: 13px;
|
padding-top: 13px;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
@include phone { padding-left: 48px; }
|
@include phone { padding-left: 48px; }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue