File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 33 flex-flow : column;
44}
55
6- # panel-dashboard-stats {
6+ # panel-dashboard-connections {
77 display : grid;
88 grid-template-columns : repeat (2 , 1fr );
99 grid-template-rows : repeat (2 , 1fr );
6969
7070# panel-dashboard-events {
7171 min-height : 0 ;
72+ flex-shrink : 1 ;
7273}
7374
7475.dashboard-event-item {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default function DashboardPanel() {
7474 < DashboardHistory history = { data . history } />
7575 </ div >
7676 </ div >
77- < div className = "panel-container dashboard" >
77+ < div className = "panel-container dashboard" id = "panel-dashboard-stats" >
7878 < button
7979 className = { `panel-container-header${ openSection . includes ( "stats" ) ? " open" : "" } ` }
8080 type = "button"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export function DashboardStats({ stats }: { stats: Stats }) {
1010 return (
1111 < div className = "panel-section-content" >
1212 < div className = "panel-data-separator" > Connections</ div >
13- < div className = "panel-sub-container" id = "panel-dashboard-stats " >
13+ < div className = "panel-sub-container" id = "panel-dashboard-connections " >
1414 < div className = "panel-data-item" >
1515 < p > Total</ p >
1616 < p > { stats . pilots + stats . controllers + stats . supervisors } </ p >
Original file line number Diff line number Diff line change @@ -25,12 +25,16 @@ const containerStyles = (provided: CSSObjectWithLabel): CSSObjectWithLabel => ({
2525 minHeight : "32px" ,
2626 flexGrow : 1 ,
2727 boxSizing : "border-box" ,
28+ display : "flex" ,
29+ alignItems : "center" ,
30+ justifyContent : "space-between" ,
2831} ) ;
2932
3033const controlStyles = ( provided : CSSObjectWithLabel ) : CSSObjectWithLabel => ( {
3134 ...provided ,
3235 minHeight : "100%" ,
3336 padding : "4px" ,
37+ width : "100%" ,
3438} ) ;
3539
3640const menuStyles = ( provided : CSSObjectWithLabel ) : CSSObjectWithLabel => ( {
You can’t perform that action at this time.
0 commit comments