Add custom scroll bar

This commit is contained in:
2020-09-10 23:44:49 +03:00
parent 92ec1c03da
commit 8ec34030c8
6 changed files with 39 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div ref="element" class="album"
:style="{'background-image': backgroundStyle,
'min-height': height}">
'height': height}">
{{ data.name }}
</div>
</template>
@@ -34,8 +34,6 @@ export default class Album extends Vue {
if (this.element === undefined)
return;
console.log("update");
this.height = `${this.element.clientWidth}px`;
}