Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Feedback Form Alignment and Responsiveness #420

Merged
merged 4 commits into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 41 additions & 4 deletions css/feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ body {
display: flex;
justify-content: center;
align-items: center;
height: 110vh;
min-height: 100vh;
background: linear-gradient(45deg, #0d0d0d, #1e1e1e);
animation: blinkGradient 10s infinite;
transition: background 0.5s ease-in-out;
Expand Down Expand Up @@ -125,6 +125,8 @@ h1 {

.form-group {
margin-bottom: 15px;
display: flex;
flex-direction: column;
}

label {
Expand Down Expand Up @@ -253,8 +255,7 @@ button[type="submit"]:hover {
}

.rating {
margin-left: 110px;
margin-right: 110px;
margin: 0 auto 15px;
display: flex;
justify-content: space-between;
align-items: center;
Expand Down Expand Up @@ -315,6 +316,42 @@ span {
}
}

@media (max-width: 600px) {
.container {
padding: 1rem;
}

.rating {
margin: 0 20px 15px;
}

h1 {
font-size: 1.5rem;
}

label {
font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea,
input[type="file"] {
font-size: 0.9rem;
padding: 8px;
}

button[type="submit"] {
padding: 8px;
}

.back-button {
padding: 0.4rem 0.8rem;
margin-left: 0;
}
}
.rating-container button {
font-size: 24px;
cursor: pointer;
Expand Down Expand Up @@ -343,4 +380,4 @@ span {
.rating-container button:hover {
transform: scale(1.2); /* Adjust scaling for smaller screens */
}
}
}