change(ui): some small fixes

This commit is contained in:
nick-delirium 2023-01-13 17:09:35 +01:00 committed by Delirium
parent 309b96f2da
commit ef65998938
6 changed files with 2 additions and 39 deletions

View file

@ -13,7 +13,7 @@ const AssistDurationCont = () => {
const interval = setInterval(() => {
setAssistDuration(Duration.fromMillis(+new Date() - assistStart).toFormat('mm:ss'));
}
, 1000);
, 500);
return () => clearInterval(interval);
}, [])
return (

View file

@ -1,7 +1,7 @@
import React from 'react';
import cn from 'classnames';
import { connect } from 'react-redux';
import LiveTag from 'Shared/LiveTag';
import LiveTag from './LiveTag';
import AssistSessionsTabs from './AssistSessionsTabs';
import {

View file

@ -57,22 +57,8 @@
background: $main;
z-index: 3;
pointer-events: none;
/* top: 0; */
/* bottom: 0; */
/* &:hover {
width: 10px;
height: 10px;
margin-left: -6px;
z-index: 1;
};*/
}
/* .event.click, .event.input {
background: $green;
}
.event.location {
background: $blue;
} */
.redEvent {
position: absolute;
width: 2px;
@ -80,14 +66,6 @@
background: $red;
z-index: 3;
pointer-events: none;
/* top: 0; */
/* bottom: 0; */
/* &:hover {
width: 10px;
height: 10px;
margin-left: -6px;
z-index: 1;
};*/
}
.markup {
@ -100,25 +78,12 @@
}
}
/* .markup.log {
background: $blue;
}
.markup.error {
background: $red;
}
.markup.warning {
background: $orange;
} */
.markup.info {
background: $blue2;
}
.popup {
max-width: 300px !important;
/* max-height: 300px !important; */
overflow: hidden;
text-overflow: ellipsis;
& span {
@ -146,14 +111,12 @@
width: 2px;
height: 8px;
margin-left: -1px;
/* background: $red; */
}
.returningLocation {
position: absolute;
height: 20%;
border-radius: 50%;
/* background: $red; */
width: 12px;
}