Skip to content

Commit b3b8878

Browse files
Fixing contact form message position desktop and mobile
1 parent 57eb7e2 commit b3b8878

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

styles/pages/contactStyles.js

+4-12
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,14 @@ const YellowColon = styled.img`
100100
`;
101101

102102
const ResponseMessage = styled.div`
103-
position: absolute;
104-
right: 8%;
103+
position: unset;
105104
bottom: -5%;
106-
margin: auto;
105+
padding: 0 2rem;
107106
108107
${props => css`
109-
@media (min-width: ${props.theme.breakpoints.mobile}) {
110-
position: unset;
108+
@media (min-width: ${props.theme.breakpoints.tablet}) {
109+
position: absolute;
111110
margin-top: 1rem;
112-
padding: 0 2rem;
113-
}
114-
`}
115-
116-
${props => css`
117-
@media (min-width: ${props.theme.breakpoints.smMobile}) {
118-
max-width: fit-content;
119111
}
120112
`}
121113
`;

0 commit comments

Comments
 (0)