Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix call time position when not recording
Signed-off-by: Marco <[email protected]>
  • Loading branch information
marcoambrosini committed Nov 18, 2022
commit fcfc1e1ecf75b24b7e77e4588ed65e43b1d1b01d
8 changes: 7 additions & 1 deletion src/components/TopBar/CallTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<template #trigger>
<NcButton :disabled="!isRecording"
:wide="true"
:class="{ 'call-time__not-recording': !isRecording }"
type="tertiary"
@click="showPopover = true">
<template v-if="isRecording" #icon>
Expand Down Expand Up @@ -155,15 +156,20 @@ export default {
</script>

<style lang="scss" scoped>

.call-time {
display: flex;
justify-content: center;
align-items: center;
height: 44px;
height: var(--default-clickable-area);
font-weight: bold;
color: #fff;
width: 120px;

&__not-recording {
padding-left: var(--default-clickable-area) !important
}

&--wide {
width: 180px;
}
Expand Down
13 changes: 6 additions & 7 deletions src/components/TopBar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@
<p class="title">
{{ conversation.displayName }}
</p>
<template v-if="!isInCall">
<p v-if="showUserStatusAsDescription"
class="description">
{{ statusMessage }}
</p>
<p v-else-if="conversation.description"
v-tooltip.bottom="{
<p v-if="showUserStatusAsDescription"
class="description">
{{ statusMessage }}
</p>
<template v-if="!isInCall && conversation.description">
<p v-tooltip.bottom="{
content: renderedDescription,
delay: { show: 500, hide: 500 },
autoHide: false,
Expand Down