Added margin in date time picker to avoid jumpy effect (#1963)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -172,6 +172,8 @@ const styles = (theme: Theme) =>
|
|||||||
borderTop: "#F0F3F5 1px solid",
|
borderTop: "#F0F3F5 1px solid",
|
||||||
},
|
},
|
||||||
"& .MuiClockPicker-arrowSwitcher": {
|
"& .MuiClockPicker-arrowSwitcher": {
|
||||||
|
marginRight: 10,
|
||||||
|
marginTop: -1,
|
||||||
"& > div": {
|
"& > div": {
|
||||||
width: 0,
|
width: 0,
|
||||||
},
|
},
|
||||||
@@ -182,6 +184,8 @@ const styles = (theme: Theme) =>
|
|||||||
width: 255,
|
width: 255,
|
||||||
height: 255,
|
height: 255,
|
||||||
backgroundColor: "#fff",
|
backgroundColor: "#fff",
|
||||||
|
marginTop: 30,
|
||||||
|
marginBottom: 14,
|
||||||
border: "#F0F3F5 3px solid",
|
border: "#F0F3F5 3px solid",
|
||||||
"& > div:nth-child(2)": {
|
"& > div:nth-child(2)": {
|
||||||
backgroundColor: "#B4B5B4",
|
backgroundColor: "#B4B5B4",
|
||||||
|
|||||||
Reference in New Issue
Block a user