Skip to content

Commit 8e7272f

Browse files
authored
Merge pull request #151 from Web-Dev-Path/fix/contact-form-message
Adjusted contact form message on mobile
2 parents 3e45225 + 1995fe7 commit 8e7272f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8484
### Added
8585

8686
### Fixed
87+
- adjusted contact form message on mobile

styles/Contact.module.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,16 @@
152152
position: absolute;
153153
right: 8%;
154154
bottom: -5%;
155-
width: 26rem;
156155
margin: auto;
157156

158157
@include mobile {
159158
position: unset;
160159
margin-top: 1rem;
160+
padding: 0 2rem;
161+
}
162+
163+
@include small-mobile {
164+
max-width: fit-content;
161165
}
162166
}
163167

0 commit comments

Comments
 (0)