mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
vueui:
make calendar year scrollable if not enough space make day's linear snapshot list scroll without obscuring day label
This commit is contained in:
parent
576050dbb6
commit
ad8c12a5cd
File diff suppressed because one or more lines are too long
@ -3,6 +3,7 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
|
overflow: scroll;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,10 @@
|
|||||||
<div>{{ period.snapshotCount }} capture<span v-if="period.snapshotCount > 1">s</span></div>
|
<div>{{ period.snapshotCount }} capture<span v-if="period.snapshotCount > 1">s</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-for="period in snapshotPeriods">
|
<div class="list">
|
||||||
<span class="link" @click="gotoPeriod(period)">{{period.snapshot.getTimeFormatted()}}</span>
|
<div v-for="period in snapshotPeriods">
|
||||||
|
<span class="link" @click="gotoPeriod(period)">{{period.snapshot.getTimeFormatted()}}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -30,15 +32,17 @@ export default {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.timeline-linear {
|
.timeline-linear {
|
||||||
max-height: 80vh;
|
|
||||||
min-height: 50px;
|
|
||||||
width: auto;
|
width: auto;
|
||||||
overflow: scroll;
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
.timeline-linear .list {
|
||||||
|
max-height: 80vh;
|
||||||
|
min-height: 50px;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
.timeline-linear .title {
|
.timeline-linear .title {
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid black;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user