small style fixes + defaults

- remove unused code in collapse atom
- stop text input from creating new line
- clean overflow
- restyle lock button
- restyle action buttons
- 10 second default on paginator
- Pip shows running timer
This commit is contained in:
cv
2021-05-26 22:19:55 +02:00
parent 0a2be1615e
commit 856f9d308a
10 changed files with 20 additions and 25 deletions
@@ -42,7 +42,7 @@ export default function StageManager(props) {
// Format messages
const showPubl = publ.text !== '' && publ.visible;
let stageTimer = formatDisplay(Math.abs(time.running), true);
if (time.running < 0) stageTimer = '-' + stageTimer;
if (time.running < 0) stageTimer = `-${stageTimer}`;
// motion
const titleVariants = {
@@ -51,11 +51,8 @@ export default function Pip(props) {
// Format messages
const showInfo =
general.backstageInfo !== '' && general.backstageInfo != null;
const stageTimer =
time.currentSeconds != null && !isNaN(time.currentSeconds)
? formatDisplay(time.currentSeconds, true)
: '';
let stageTimer = formatDisplay(Math.abs(time.running), true);
if (time.running < 0) stageTimer = `-${stageTimer}`;
return (
<div className={style.container__gray}>