Skip to content

Commit

Permalink
EPMRPP-76703 || code review fixes - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sidarkevich committed May 13, 2022
1 parent 711cfbf commit 3222972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/componentLibrary/inputNumeric/inputNumeric.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const InputNumeric = ({

return (
<div className={cx('container', { disabled })}>
{label && <div className={cx('label')}>{label}</div>}
{label && <span className={cx('label')}>{label}</span>}
<div
className={cx('input-container', {
filled: !!value || value === 0,
Expand Down
4 changes: 3 additions & 1 deletion app/src/componentLibrary/inputNumeric/inputNumeric.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

.container {
position: relative;
display: inline-block;
display: inline-flex;
flex-direction: column;

&.disabled {
opacity: 0.3;
Expand All @@ -33,6 +34,7 @@
}

.sign {
display: inline-block;
width: 16px;
height: 16px;
cursor: pointer;
Expand Down

0 comments on commit 3222972

Please sign in to comment.