Skip to content

Commit 7fb7af7

Browse files
author
Programming-Sai
committed
Addressed the responsiveness issues in the tablet and overall design aesthetics.
1 parent d3879dc commit 7fb7af7

File tree

6 files changed

+75
-23
lines changed

6 files changed

+75
-23
lines changed

src/app/admin/dashboard/dashboard.module.css

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -196,35 +196,51 @@
196196
height: 500px;
197197
}
198198

199-
200-
201-
@media screen and (max-width:640px) {
199+
@media screen and (max-width:1424px) {
202200
.container{
203-
width: 100%;
204-
left: 0;
205-
201+
width: calc(100% - 80px);
202+
left: 80px;
206203
}
207-
.topContainer{
204+
}
205+
206+
@media screen and (max-width:1324px) {
207+
.secondRow {
208+
display: flex;
209+
justify-content: space-between;
210+
align-items: center;
208211
flex-direction: column;
212+
}
213+
.card{
214+
width: 100% !important;
209215
}
210216
.card6{
211217
padding: 10px !important;
212218
}
213-
214-
.card{
215-
width: 100% !important;
219+
.card2{
220+
width: auto !important;
221+
}
222+
.card7{
223+
height: fit-content !important;
216224
}
217-
218225
.card5{
219226
width: 400px !important;
220227
}
228+
}
221229

222-
.secondRow {
223-
display: flex;
224-
justify-content: space-between;
225-
align-items: center;
230+
231+
@media screen and (max-width:868px) {
232+
.container{
233+
width: 100%;
234+
left: 0;
235+
236+
}
237+
238+
}
239+
240+
@media screen and (max-width:640px) {
241+
.topContainer{
226242
flex-direction: column;
227-
}
243+
}
228244
}
229245

230246
@media screen and (max-width:480px) {

src/components/adminrecentpost/adminrecentpost.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
.sliderItems{
19-
width: 380px;
19+
width: 400px;
2020
height: 100%;
2121
position: relative;
2222
justify-content: flex-start;

src/components/charts/Charts.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ const SEOMetrics = () => {
440440

441441
return (
442442
<div className={styles.containerTable}>
443-
<h4> SEO Performance Metrics </h4>
443+
<h3> SEO Performance Metrics </h3>
444444
<table className={styles.tableContainer}>
445445
<thead>
446446
<tr>

src/components/charts/charts.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
}
2727

2828
.tableContainer{
29-
padding: 10px;
3029
min-width: 100%;
3130
margin-block: 5%;
3231
}
@@ -52,7 +51,7 @@
5251
transform: scale(1.05);
5352
}
5453

55-
.containerTable h4{
54+
.containerTable h3{
5655
margin-block: 3%;
5756
padding: 20px;
5857
}

src/components/sidenavbar/sidenavbar.module.css

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,32 @@
172172
opacity: 0.6;
173173
}
174174

175+
@media screen and (max-width:1424px) {
176+
.container{
177+
width: 80px;
178+
}
179+
.container ul{
180+
margin-top: 250%;
181+
}
182+
.container .imgContainer{
183+
width: 50px;
184+
height: 50px;
185+
}
186+
.container ul li .a span{
187+
display: none;
188+
}
189+
.container h1, .container p{
190+
display: none;
191+
}
192+
.container .profileContainer{
193+
justify-content: flex-start;
194+
margin-left: -10px;
195+
}
196+
197+
}
175198

176-
@media screen and (max-width:640px) {
199+
200+
@media screen and (max-width:868px) {
177201
.container{
178202
position: absolute;
179203
width: 60%;
@@ -184,7 +208,7 @@
184208
background-color: green;
185209
}
186210
.container.active ul{
187-
margin-top: 100%;
211+
margin-top: 50%;
188212
}
189213
.imgContainer{
190214
width: 100px;
@@ -221,6 +245,12 @@
221245

222246
}
223247

248+
@media screen and (max-width:640px) {
249+
.container.active ul{
250+
margin-top: 100%;
251+
}
252+
}
253+
224254
@media screen and (max-width:480px) {
225255
.container.active ul{
226256
margin-top: 110%;

src/components/topbar/topbar.module.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@
3030
text-align: center;
3131
}
3232

33-
@media screen and (max-width:640px) {
33+
@media screen and (max-width:1424px) {
34+
.container{
35+
width: calc(100% - 80px);
36+
left: 80px;
37+
}
38+
}
39+
40+
@media screen and (max-width:868px) {
3441
.container{
3542
width: 100%;
3643
left: 0;

0 commit comments

Comments
 (0)