Fixed label size & added text alignment (#112)

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2020-05-12 16:34:48 -05:00
committed by GitHub
parent 5e9b0652b0
commit 48e7991f11
4 changed files with 83 additions and 75 deletions

File diff suppressed because one or more lines are too long

View File

@@ -36,7 +36,8 @@ const styles = (theme: Theme) =>
...fieldBasic,
inputLabel: {
...fieldBasic.inputLabel,
marginBottom: 10
marginBottom: 10,
width: 122
},
inputContainer: {
height: 150,

View File

@@ -44,7 +44,11 @@ interface SelectProps {
const styles = (theme: Theme) =>
createStyles({
...fieldBasic
...fieldBasic,
inputLabel: {
...fieldBasic.inputLabel,
width: 116
}
});
const SelectStyled = withStyles((theme: Theme) =>

View File

@@ -20,9 +20,12 @@ export const fieldBasic = {
inputLabel: {
fontWeight: 500,
marginRight: 16,
minWidth: 90,
width: 100,
fontSize: 14,
color: "#393939"
color: "#393939",
textAlign: "right" as const,
textOverflow: "ellipsis",
overflow: "hidden"
},
fieldContainer: {
display: "flex",