Skip to content

Commit c53ef0e

Browse files
fix motor load indicator position
1 parent 909e1c2 commit c53ef0e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

frontend/controls/axis_display_group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { DevSettings } from "../settings/dev/dev_support";
88

99
const Axis = (props: AxisProps) => {
1010
const { axis, val, missedSteps, axisState, index, detectionEnabled } = props;
11-
return <div className={"index-" + index}>
11+
return <div className={"axis-display-group-item index-" + index}>
1212
{isNumber(missedSteps) && missedSteps >= 0 && detectionEnabled &&
1313
<MissedStepIndicator
1414
missedSteps={axisState == "idle" ? 0 : missedSteps}

frontend/css/panels/controls.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@
231231
}
232232

233233
.bot-position-rows {
234+
.axis-display-group-item {
235+
position: relative;
236+
}
234237
.missed-step-indicator-wrapper {
235238
position: absolute;
236239
top: -1.5rem;

0 commit comments

Comments
 (0)