Skip to content

Commit 0fe2aef

Browse files
committed
Fix: Responsive design for SEND EMAILS page
1 parent e95577e commit 0fe2aef

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

src/components/Announcements/Announcements.css

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,30 @@ button.send-button:hover {
9898
margin-top: 10px;
9999
/* Reduce margin top on smaller screens */
100100
}
101-
}
101+
}
102+
/* Responsive design: Adjust the layout for smaller screens */
103+
@media (max-width: 800px) {
104+
.email-update-container {
105+
display: flex;
106+
flex-direction: column;
107+
padding: 20px;
108+
}
109+
.editor {
110+
width: 100%;
111+
margin-right: 0;
112+
margin-bottom: 20px;
113+
}
114+
.emails {
115+
width: 100%;
116+
margin-top: 20px;
117+
padding: 20px 0;
118+
}
119+
.send-button {
120+
width: 100%;
121+
margin-bottom: 10px;
122+
}
123+
.input-text-for-announcement,
124+
textarea {
125+
width: 100%;
126+
}
127+
}

0 commit comments

Comments
 (0)