Merge pull request #1375 from Human-Connection/fix-flickery-create-button

Fix flickering create-button
This commit is contained in:
mattwr18 2019-08-26 11:25:12 +02:00 committed by GitHub
commit 07f067822a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,16 +201,22 @@
</ds-card>
</ds-grid-item>
<ds-grid-item :row-span="2" column-span="fullWidth" class="create-button">
<ds-button
v-if="myProfile"
v-tooltip="{ content: 'Create a new Post', placement: 'left', delay: { show: 500 } }"
:path="{ name: 'post-create' }"
class="profile-post-add-button"
icon="plus"
size="large"
primary
/>
<ds-grid-item :row-span="2" column-span="fullWidth">
<ds-space centered>
<ds-button
v-if="myProfile"
v-tooltip="{
content: 'Create a new Post',
placement: 'left',
delay: { show: 500 },
}"
:path="{ name: 'post-create' }"
class="profile-post-add-button"
icon="plus"
size="large"
primary
/>
</ds-space>
</ds-grid-item>
<template v-if="activePosts.length">
@ -435,10 +441,6 @@ export default {
.pointer {
cursor: pointer;
}
.create-button {
text-align: center;
margin: auto;
}
.Tab {
border-collapse: collapse;
padding-bottom: 5px;