Skip to content

Commit

Permalink
remove padding bottom that compensated for the github chatbox as the …
Browse files Browse the repository at this point in the history
…last element in the list will always be either the instance created event or load more which do not interfere
  • Loading branch information
cstns committed Oct 18, 2024
1 parent d76c7c2 commit 7ffeb4d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/src/pages/instance/VersionHistory/Timeline/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
<section v-if="isTimelineFeatureEnabled" id="visual-timeline" class="relative" :style="{height: `${listHeight}px`}">
<transition name="fade" mode="out-in">
<ff-loading v-if="loading" message="Loading Timeline..." class="absolute top-0" />

<!-- set mb-14 (~56px) on the form to permit access to kebab actions where hubspot chat covers it -->
<!-- it's pb- in this case -->
<ul v-else ref="timeline" class="timeline pb-14 " :style="{'max-height': `${listHeight}px`}">
<ul v-else ref="timeline" class="timeline" :style="{'max-height': `${listHeight}px`}">
<li v-for="event in activeTimeline" :key="event.id">
<timeline-event
:event="event"
Expand Down Expand Up @@ -175,6 +172,10 @@ export default {
border: 1px solid $ff-grey-300;
border-radius: 3px;
overflow: auto;
li {
}
}
}
</style>

0 comments on commit 7ffeb4d

Please sign in to comment.