Skip to content

Commit

Permalink
4001 - Vertically center disabled input cells
Browse files Browse the repository at this point in the history
  • Loading branch information
yaguzmang committed Jan 1, 2025
1 parent 82cad2a commit a15489d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.table-grid__data-cell-input-number {
text-align: right;

&.input-text {
&.disabled {
align-items: center;
display: flex;
justify-content: end;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.table-grid__data-cell-input-text {
&.input-text {
&.disabled {
align-items: center;
display: flex;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './Text.scss'
import React from 'react'
import { useTranslation } from 'react-i18next'

Expand All @@ -19,6 +20,7 @@ const Text: React.FC<PropsCell> = (props) => {

return (
<Component
className="table-grid__data-cell-input-text"
disabled={disabled}
onChange={onChange}
onPaste={onPaste}
Expand Down

0 comments on commit a15489d

Please sign in to comment.