mirror of https://github.com/OpenVidu/openvidu.git
ov-components: adjust top bar height from 80px to 50px for improved layout consistency
parent
c2a87459cd
commit
28da654141
|
|
@ -216,9 +216,9 @@ export class LayoutCalculator {
|
||||||
let currentTop = areas.normal.top;
|
let currentTop = areas.normal.top;
|
||||||
let remainingHeight = areas.normal.height;
|
let remainingHeight = areas.normal.height;
|
||||||
|
|
||||||
// 1. Position TopBar Elements at the very top (header style: full width, 80px height)
|
// 1. Position TopBar Elements at the very top (header style: full width, 50px height)
|
||||||
if (topBarOnes.length > 0) {
|
if (topBarOnes.length > 0) {
|
||||||
const topBarHeight = 80;
|
const topBarHeight = 50;
|
||||||
const topBarWidth = Math.floor(containerWidth / topBarOnes.length);
|
const topBarWidth = Math.floor(containerWidth / topBarOnes.length);
|
||||||
|
|
||||||
topBarBoxes = topBarOnes.map((element, idx) => {
|
topBarBoxes = topBarOnes.map((element, idx) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue