Prevent text input labels from overlaying scenarios header
This commit is contained in:
@@ -18,11 +18,9 @@ export const FloatingLabelInput = ({
|
||||
transform={isFocused || !!value ? "translateY(-50%)" : "translateY(0)"}
|
||||
fontSize={isFocused || !!value ? "12px" : "16px"}
|
||||
transition="all 0.15s"
|
||||
zIndex="100"
|
||||
zIndex="5"
|
||||
bg="white"
|
||||
px={1}
|
||||
mt={0}
|
||||
mb={2}
|
||||
lineHeight="1"
|
||||
pointerEvents="none"
|
||||
color={isFocused ? "blue.500" : "gray.500"}
|
||||
|
||||
@@ -4,5 +4,5 @@ export const stickyHeaderStyle: SystemStyleObject = {
|
||||
position: "sticky",
|
||||
top: "0",
|
||||
backgroundColor: "#fff",
|
||||
zIndex: 1,
|
||||
zIndex: 10,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user