aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-11-01 17:44:16 +0000
committerShpuld Shpludson <shp@cock.li>2020-11-01 17:44:16 +0000
commit40ce3a9bd8711029453f3753637ff7a53d7ee23f (patch)
tree8271262a8879c10e1a21b6a990533c6a07d13f4f /src/components/timeline/timeline.vue
parent8ae77e14d0bfd32209fb54195b3f12d78c92f5ca (diff)
parent93f9ab6f2b99ac507fc05a9101d37edbe752bbec (diff)
Merge branch 'fix/block-misclicks-when-timeline-shifts' into 'develop'
block clicks for a second on timeline when timeline moves See merge request pleroma/pleroma-fe!1266
Diffstat (limited to 'src/components/timeline/timeline.vue')
-rw-r--r--src/components/timeline/timeline.vue8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index aaf0349c..373b946f 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -1,5 +1,5 @@
<template>
- <div :class="[classes.root, 'timeline']">
+ <div :class="[classes.root, 'Timeline']">
<div :class="classes.header">
<TimelineMenu v-if="!embedded" />
<div
@@ -107,10 +107,14 @@
<style lang="scss">
@import '../../_variables.scss';
-.timeline {
+.Timeline {
.loadmore-text {
opacity: 1;
}
+
+ &.-blocked {
+ pointer-events: none;
+ }
}
.timeline-heading {