add border radius
This commit is contained in:
1 parent
c5ad94a129
commit
78e06689ea
3 files changed
+73
-10
No files matched your search
@@ -1,7 +1,9 @@
|
||||
<template>
|
||||
<vue-plyr ref="plyr" :options="options">
|
||||
<video ref="video" controls playsinline :data-poster="preview"></video>
|
||||
</vue-plyr>
|
||||
<div class="player">
|
||||
<vue-plyr ref="plyr" :options="options">
|
||||
<video ref="video" controls playsinline :data-poster="preview"></video>
|
||||
</vue-plyr>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -65,3 +67,14 @@ export default defineComponent({
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.player {
|
||||
width: calc(100% - 30px);
|
||||
position: relative;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
border-radius: 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user