aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_popover/user_popover.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/user_popover/user_popover.vue')
-rw-r--r--src/components/user_popover/user_popover.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/user_popover/user_popover.vue b/src/components/user_popover/user_popover.vue
index 4e999672..3b2bbc45 100644
--- a/src/components/user_popover/user_popover.vue
+++ b/src/components/user_popover/user_popover.vue
@@ -14,7 +14,7 @@
class="user-popover"
:user-id="userId"
:hide-bio="true"
- :avatar-action="userPopoverZoom ? 'zoom' : close"
+ :avatar-action="userPopoverAvatarAction == 'close' ? close : userPopoverAvatarAction"
:on-close="close"
/>
</template>
@@ -24,10 +24,12 @@
<script src="./user_popover.js"></script>
<style lang="scss">
-@import '../../_variables.scss';
+@import "../../variables";
/* popover styles load on-demand, so we need to override */
+/* stylelint-disable block-no-empty */
.user-popover.popover {
}
+/* stylelint-enable block-no-empty */
</style>