feat: add scrolle to match list in cmt
This commit is contained in:
parent
0dace76fc3
commit
a73a3562c3
@ -247,7 +247,7 @@ function MatchList({matches, cat, menuActions}) {
|
||||
</div>
|
||||
}
|
||||
|
||||
<div className="table-responsive-xxl">
|
||||
<div className="table-responsive-xxl overflow-y-auto" style={{maxHeight: "50vh"}}>
|
||||
<table className="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -348,10 +348,12 @@ function BuildTree({treeData, matches, menuActions}) {
|
||||
|
||||
|
||||
return <div>
|
||||
<div className="overflow-y-auto" style={{maxHeight: "50vh"}}>
|
||||
<div ref={scrollRef} className="overflow-x-auto" style={{position: "relative"}}>
|
||||
<DrawGraph root={trees} scrollRef={scrollRef} onMatchClick={onMatchClick} onClickVoid={onClickVoid}
|
||||
matchSelect={currentMatch?.matchSelect} matchNext={currentMatch?.matchNext} size={23}/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{currentMatch?.matchSelect &&
|
||||
<LoadingProvider><ScorePanel matchId={currentMatch?.matchSelect} matchs={matches} match={match} menuActions={menuActions}/></LoadingProvider>}
|
||||
|
||||
@ -49,9 +49,6 @@ export function CMTable() {
|
||||
<CategorieSelect catId={catId} setCatId={setCatId} menuActions={menuActions}/>
|
||||
</div>
|
||||
</div>
|
||||
<div style={{backgroundColor: "#c70000"}}>
|
||||
D
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Menu menuActions={menuActions}/>
|
||||
|
||||
@ -95,7 +95,7 @@ function WSStatus({setPerm}) {
|
||||
return () => dispatch({type: 'removeListener', payload: welcomeListener})
|
||||
}, [])
|
||||
|
||||
return <div className="row">
|
||||
return <div className="row" style={{marginRight: "inherit"}}>
|
||||
<h2 className="col">{name}</h2>
|
||||
<div className="col-auto" style={{margin: "auto 0", padding: 0}}>Serveur: <ColoredCircle
|
||||
color={isReady ? (inWait ? "#ffad32" : "#00c700") : "#e50000"}/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user