File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
widgets/DeviceActionButton Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const Devices = ({
2929 // const variant = useVariant();
3030 const variantName = useVariantName ( ) ;
3131
32- return ( < Row className = "row-cols row-cols-1 gap -4" >
32+ return ( < Row className = "row-cols row-cols-1 row-cols-xl-2 gy -4" >
3333 { isLoading && < Col className = "text-center" >
3434 < LoadingIcon large />
3535 </ Col > }
Original file line number Diff line number Diff line change 2222 }
2323
2424 @include media-breakpoint-up (xl) {
25- width : 200 px ;
26- height : 200 px ;
25+ width : 150 px ;
26+ height : 150 px ;
2727
2828 i {
29- font-size : 72 pt ;
29+ font-size : 30 pt ;
3030 }
3131 }
3232}
Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ const DeviceActionButton = (
5555 const icon = isDoorOpen ? 'fa-solid fa-door-open' : type . icon ;
5656 const label = t ( isDoorOpen ? 'views.door.open' : 'views.devices.' + action ) ;
5757
58- return ( < >
58+ return < >
5959 < Button variant = { variant } className = "device-action-button" onClick = { handleClick } disabled = { disabled } >
6060 < i className = { icon } />
6161 < div > { label } </ div >
6262 </ Button >
6363 { error ?. status && [ 401 , 403 ] . includes ( error . status ) && < RedirectToLogin /> }
64- </ > ) ;
64+ </ > ;
6565} ;
6666
6767export default DeviceActionButton ;
You can’t perform that action at this time.
0 commit comments