input number
This commit is contained in:
1 parent
60ec7c3f29
commit
4b966bf5e1
3 files changed
+70
-5
No files matched your search
@@ -53,6 +53,32 @@ export const useInputTextStyles = createAppUseStyles<{}>(theme => ({
|
||||
...commonInputStyle(theme),
|
||||
}));
|
||||
|
||||
export const useInputNumberStyles = createAppUseStyles<{}>(theme => {
|
||||
const styles = commonInputStyle(theme);
|
||||
return {
|
||||
input: {
|
||||
...styles.input,
|
||||
textAlign: 'center'
|
||||
},
|
||||
deleteIcon: {
|
||||
position: "absolute",
|
||||
right: 40,
|
||||
top: 16,
|
||||
color: theme.secondaryAccent,
|
||||
backgroundColor: theme.secondary,
|
||||
borderWidth: 1,
|
||||
borderStyle: 'solid',
|
||||
borderColor: theme.secondaryAccent,
|
||||
borderRadius: 5,
|
||||
cursor: 'pointer',
|
||||
padding: "1px 5px",
|
||||
"&:hover": {
|
||||
backgroundColor: theme.primary,
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
export const useInputTextAreaStyles = createAppUseStyles<{ resizable: boolean }>(theme => {
|
||||
const styles = commonInputStyle(theme);
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user