Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-11-30 15:43:42 +0300
committerVincent Petry <vincent@nextcloud.com>2020-11-30 15:43:42 +0300
commit8b27713f088cd8fa4ba1fee845c14f738ef80ac1 (patch)
treee719de96248a1cdbc9cec8b1804bedd44d3e3804 /src
parent6caf1a4b9dd6f2947183d116a2cef86b1a8a8bef (diff)
Adjust local media control position in sidebar
When in sidebar, use the same size as the video for properly centering the media controls. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/CallView/CallView.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/CallView/CallView.vue b/src/components/CallView/CallView.vue
index 00c373cd3..8952db016 100644
--- a/src/components/CallView/CallView.vue
+++ b/src/components/CallView/CallView.vue
@@ -26,6 +26,7 @@
<LocalMediaControls
v-if="!isGrid"
class="local-media-controls"
+ :class="{ 'local-media-controls--sidebar': isSidebar }"
:model="localMediaModel"
:local-call-participant-model="localCallParticipantModel"
:screen-sharing-button-hidden="isSidebar"
@@ -752,6 +753,10 @@ export default {
right: 0;
bottom: 4px;
z-index: 10;
+
+ &--sidebar {
+ width: 150px;
+ }
}
</style>