Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix size of step inputs in Chrome #1434

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}

.input {
width: 9em;
height: 36px;
appearance: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ function BeamlineAttributeForm(props) {
name="value"
aria-label="Value"
step={step}
size={10}
defaultValue={value.toFixed(precision)}
disabled={isBusy}
/>
Expand Down
1 change: 0 additions & 1 deletion ui/src/components/MotorInput/MotorInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export default class MotorInput extends React.Component {
<input
className={styles.stepInput}
type="number"
size={3}
defaultValue={step}
disabled={this.props.disabled}
onChange={(evt) =>
Expand Down
1 change: 1 addition & 0 deletions ui/src/components/MotorInput/MotorInput.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.stepInput {
width: 3em;
background-color: #f5f5f5;
border: 1px solid #ccc;
font-size: 12px;
Expand Down
Loading