File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
frontend/src/components/device Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ export function DeviceTable({
4646 < thead >
4747 < tr class = "charger-head" >
4848 < th onClick = { ( ) => onSort ( "status" ) } >
49- < Row className = "m-0" >
50- < Col className = "align-content-end text-end " >
49+ < Row className = "m-0 g-0 " >
50+ < Col className = "text-center " >
5151 { getIcon ( "status" ) }
5252 </ Col >
5353 </ Row >
5454 </ th >
5555 < th onClick = { ( ) => onSort ( "name" ) } >
56- < Row className = "flex-nowrap m -0" >
56+ < Row className = "flex-nowrap g -0" >
5757 < Col >
5858 { t ( "charger_name" ) }
5959 </ Col >
@@ -63,7 +63,7 @@ export function DeviceTable({
6363 </ Row >
6464 </ th >
6565 < th onClick = { ( ) => onSort ( "uid" ) } >
66- < Row className = "flex-nowrap m -0" >
66+ < Row className = "flex-nowrap g -0" >
6767 < Col >
6868 { t ( "charger_id" ) }
6969 </ Col >
@@ -74,7 +74,7 @@ export function DeviceTable({
7474 </ th >
7575 < th />
7676 < th onClick = { ( ) => onSort ( "last_state_change" ) } >
77- < Row className = "flex-nowrap m -0" >
77+ < Row className = "flex-nowrap g -0" >
7878 < Col >
7979 { t ( "last_state_change" ) }
8080 </ Col >
@@ -84,7 +84,7 @@ export function DeviceTable({
8484 </ Row >
8585 </ th >
8686 < th onClick = { ( ) => onSort ( "note" ) } >
87- < Row className = "flex-nowrap m -0" >
87+ < Row className = "flex-nowrap g -0" >
8888 < Col >
8989 { t ( "note" ) }
9090 </ Col >
Original file line number Diff line number Diff line change @@ -71,17 +71,18 @@ export function DeviceTableRow({
7171 { t ( "no_keys" ) }
7272 </ p >
7373 </ td >
74- < td class = "align-middle text-center " >
74+ < td class = "align-middle" >
7575 { formatLastStateChange ( t , device . last_state_change ) }
7676 </ td >
77- < td class = "align-middle" >
78- < Container fluid >
79- < Row >
77+ < td class = "align-middle pe-0 " >
78+ < Container fluid className = "p-0" >
79+ < Row className = "m-0" >
8080 < Col
8181 className = "d-flex align-items-center p-0"
8282 style = { { minWidth : "180px" , whiteSpace : "pre-line" , overflowWrap : "anywhere" } }
8383 >
8484 < Container
85+ className = "ps-0"
8586 onClick = { split . length <= 2 ? undefined : ( ) => setExpand ( ! expand ) }
8687 style = { { cursor : split . length <= 1 ? undefined : "pointer" } }
8788 >
You can’t perform that action at this time.
0 commit comments