Refactor mechanics components to use ActionsList for action management
- Consolidated action handling logic into a new ActionsList component for better code organization and reusability. - Updated RoboticArmMechanics, StorageMechanics, and VehicleMechanics to utilize the new ActionsList component. - Improved state management and action updates within the mechanics components. - Enhanced UI responsiveness and styling in sidebar and real-time visualization pages.
This commit is contained in:
@@ -776,13 +776,13 @@
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
padding: 4px;
|
||||
|
||||
min-width: 150px;
|
||||
|
||||
.option {
|
||||
padding: 4px 10px;
|
||||
border-radius: #{$border-radius-small};
|
||||
color: var(--text-color);
|
||||
text-wrap: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
@@ -794,8 +794,8 @@
|
||||
color: #f65648;
|
||||
|
||||
&:hover {
|
||||
background-color: #f65648;
|
||||
color: white;
|
||||
background-color: #f657484d;
|
||||
color: #f65648;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user