Skip to content

Commit

Permalink
fix(PresenterOverlay): fix relative positioning
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Dec 23, 2024
1 parent 5488656 commit 9c95b70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/CallView/shared/PresenterOverlay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<VueDraggableResizable v-if="!isCollapsed"
:key="presenterOverlaySize"
parent
class="presenter-overlay"
:resizable="false"
:h="presenterOverlaySize"
:w="presenterOverlaySize"
Expand Down Expand Up @@ -130,6 +131,12 @@ export default {
</script>

<style lang="scss" scoped>
.presenter-overlay {
position: absolute;
top: 0;
left: 0;
}

.presenter-overlay__video {
position: relative;
--max-size: 242px;
Expand Down
5 changes: 5 additions & 0 deletions src/components/CallView/shared/Screen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ export default {

<style lang="scss" scoped>

.screenContainer {
width: 100%;
height: 100%;
}

.screen {
width: 100%;
height: 100%;
Expand Down

0 comments on commit 9c95b70

Please sign in to comment.