diff options
| author | Henry Jameson <me@hjkos.com> | 2020-11-02 23:43:32 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-11-02 23:43:32 +0200 |
| commit | e351665bb31745e2639abef3e47bf4f9df616d6b (patch) | |
| tree | df8ca410ea57bfd4257d7bacfec8f61dd12b5169 /src/components/timeline | |
| parent | f0a66448eeedb348f71b09334b6e7b3c411baeea (diff) | |
Instead of blocking all interaction, only block interaction in places
that matter
Diffstat (limited to 'src/components/timeline')
| -rw-r--r-- | src/components/timeline/timeline.js | 2 | ||||
| -rw-r--r-- | src/components/timeline/timeline.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 368ee81b..cba46daf 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -72,7 +72,7 @@ const Timeline = { }, classes () { let rootClasses = !this.embedded ? ['panel', 'panel-default'] : [] - if (this.blockingClicks) rootClasses = rootClasses.concat(['-blocked']) + if (this.blockingClicks) rootClasses = rootClasses.concat(['-blocked', '_misclick-prevention']) return { root: rootClasses, header: ['timeline-heading'].concat(!this.embedded ? ['panel-heading'] : []), diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 373b946f..04859852 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -113,7 +113,7 @@ } &.-blocked { - pointer-events: none; + cursor: progress; } } |
