feat/123: enable linux build (#127)

* feat/123: enable linux build
* feat/123: style: handle window width gracefully
* feat/123: update README
This commit is contained in:
Carlos Valente
2022-05-22 09:53:04 +02:00
committed by GitHub
parent f187d5edaf
commit a73f4595a9
6 changed files with 57 additions and 10 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
import React, { useCallback, useContext, useEffect, useState } from 'react';
import { HStack } from '@chakra-ui/react';
import CollapseBar from '../../common/components/collapseBar/CollapseBar';
import { LoggingContext } from '../../app/context/LoggingContext';
import style from './InfoLogger.module.scss';
@@ -60,7 +59,7 @@ export default function InfoLogger() {
<CollapseBar title='Log' isCollapsed={collapsed} onClick={() => setCollapsed((c) => !c)} />
{!collapsed && (
<>
<HStack className={style.toggleBar}>
<div className={style.toggleBar}>
<div
onClick={() => setShowUser((s) => !s)}
onAuxClick={() => disableOthers('USER')}
@@ -118,7 +117,7 @@ export default function InfoLogger() {
<div onClick={clearLog} className={style.clear} role='button'>
Clear
</div>
</HStack>
</div>
<ul className={style.log}>
{data.map((d) => (
<li