Skip to content

Commit

Permalink
fix(devicecontrol): show edit buttons on mobile width (#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
S33G authored May 3, 2024
1 parent a043387 commit 07536d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/device-control/DeviceControlEditName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const DeviceControlEditName = (props: DeviceControlEditNameProps): JSX.El

return (
<Button<void>
className={`btn btn-${style} btn-sm d-none d-md-inline-block mx-1`}
className={`btn btn-${style} btn-sm d-md-inline-block mx-1`}
onClick={() =>
NiceModal.show(RenameDeviceModal, {
device,
Expand Down
2 changes: 1 addition & 1 deletion src/components/device-control/DeviceControlUpdateDesc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const DeviceControlUpdateDesc = (props: DeviceControlUpdateDescProps): JS

return (
<Button<void>
className="btn btn-link btn-sm d-none d-md-inline-block mx-1"
className="btn btn-link btn-sm d-md-inline-block mx-1"
onClick={() =>
NiceModal.show(UpdateDeviceDescModal, {
device,
Expand Down

0 comments on commit 07536d1

Please sign in to comment.