Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/components/CallView/CallView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,8 @@ export default {
#videos {
position: absolute;
width: 100%;
height: calc(100% - 60px);
top: 60px;
height: calc(100% - 50px);
top: 50px;
overflow: hidden;
display: -webkit-box;
display: -moz-box;
Expand Down
7 changes: 3 additions & 4 deletions src/components/TopBar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,13 @@ export default {
<style lang="scss" scoped>
.top-bar {
--border-width: 1px;
// hardcoded 1.5 value of line-height for compatibility with older versions
--text-height: calc(1.5 * (var(--default-font-size) + var(--font-size-small, 15px)));
display: flex;
flex-wrap: wrap;
z-index: 10;
gap: 3px;
align-items: center;
justify-content: flex-end;
min-height: calc(2 * var(--default-grid-baseline) + var(--text-height) + var(--border-width));
min-height: calc(var(--border-width) + 2 * (2 * var(--default-grid-baseline)) + var(--default-clickable-area));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call Container uses magic number 60 or close, need to be updated to the same value there too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in a hotfix

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but I thought, we're going for variables)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found it more complex and risky. CallView is used in different entrypoints and not directly related to TopBar

padding-block: var(--default-grid-baseline);
// Reserve space for the sidebar toggle button
padding-inline: calc(2 * var(--default-grid-baseline)) calc(2 * var(--default-grid-baseline) + var(--app-sidebar-offset, 0));
Expand Down Expand Up @@ -361,6 +359,8 @@ export default {
justify-content: center;
width: 100%;
overflow: hidden;
// Text is guaranteed to be one line. Make line-height 1.2 to fit top bar
line-height: 1.2;
&--offline {
color: var(--color-text-maxcontrast);
}
Expand All @@ -371,7 +371,6 @@ export default {
text-overflow: ellipsis;
}
.description {
font-size: var(--font-size-small, 15px);
overflow: hidden;
text-overflow: ellipsis;
max-width: fit-content;
Expand Down