From 75c91369c13f93f7816143658c4b27ec5beaedb2 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Mon, 20 Mar 2023 16:52:28 +0100 Subject: remove redundant div wrapper and styles Signed-off-by: Maksim Sukharev --- src/components/CallView/shared/VideoBottomBar.vue | 57 +++++++++++------------ 1 file changed, 28 insertions(+), 29 deletions(-) (limited to 'src/components/CallView') diff --git a/src/components/CallView/shared/VideoBottomBar.vue b/src/components/CallView/shared/VideoBottomBar.vue index e40fc3876..80e6f33d7 100644 --- a/src/components/CallView/shared/VideoBottomBar.vue +++ b/src/components/CallView/shared/VideoBottomBar.vue @@ -2,6 +2,7 @@ - @copyright Copyright (c) 2020 Marco Ambrosini - - @author Marco Ambrosini + - @author Maksim Sukharev - - @license GNU AGPL version 3 or any later version - @@ -26,6 +27,7 @@ +
- -
+ + + + + {{ t('spreed', 'Stop following') }} @@ -287,30 +293,36 @@ export default { .wrapper { display: flex; + align-items: center; position: absolute; bottom: 0; width: 100%; padding: 0 12px 8px 12px; - align-items: center; + z-index: 1; + &--big { justify-content: center; & .bottom-bar { - justify-content: center; - height: 48px; width: unset; } + & .participant-name { + margin-right: 0; + } } } .bottom-bar { display: flex; - width: 100%; - justify-content: space-between; align-items: center; - height: 40px; - z-index: 1; + gap: 8px; + width: 100%; + height: 44px; + + & .media-indicators { + display: flex; + } - & &__button { + & .following-button { opacity: 0.8; background-color: var(--color-background-dark); @@ -323,7 +335,7 @@ export default { .participant-name { color: white; - margin: 0 4px 0 8px; + margin: 0 auto 0 8px; position: relative; white-space: nowrap; overflow: hidden; @@ -343,19 +355,6 @@ export default { display: flex; align-items: center; justify-content: center; - } - &__mediaIndicator { - position: relative; - background-size: 22px; - text-align: center; - margin: 0 4px; - display: flex; - flex-wrap: nowrap; - } -} - -.handIndicator { - margin-top: 8px; } .iceFailedIndicator { -- cgit v1.2.3