Prevent text input labels from overlaying scenarios header

This commit is contained in:
David Corbitt
2023-07-20 14:28:36 -07:00
parent 2c8c8d07cf
commit 54dcb4a567
2 changed files with 2 additions and 4 deletions

View File

@@ -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"}

View File

@@ -4,5 +4,5 @@ export const stickyHeaderStyle: SystemStyleObject = {
position: "sticky",
top: "0",
backgroundColor: "#fff",
zIndex: 1,
zIndex: 10,
};