Skip to content

Commit 435c5d8

Browse files
committed
style(arc-saas): responsive screens of main module
responsive screens of main module GH-34
1 parent c0f8c6c commit 435c5d8

File tree

3 files changed

+86
-1
lines changed

3 files changed

+86
-1
lines changed

projects/saas-ui/src/app/main/components/add-plan/add-plan.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nb-card class="h-100 card-row">
1+
<nb-card class="h-100 card-row card-wrapper">
22
<nb-card-body class="m-0">
33
<div class="main-wrapper">
44
<div>

projects/saas-ui/src/app/main/components/add-plan/add-plan.component.scss

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@use '../../../../styles.scss' as *;
22
@use '../../styles/grid-styles.scss' as *;
3+
34
.input-wrapper {
45
display: flex;
56
gap: 10px;
@@ -19,13 +20,16 @@
1920
background: #fff;
2021
}
2122
}
23+
2224
.select {
2325
width: 100%;
2426
}
2527
}
28+
2629
.input-radio {
2730
width: 100%;
2831
}
32+
2933
.radioselect {
3034
nb-radio-group {
3135
display: flex;
@@ -41,6 +45,7 @@
4145
margin-top: 5px;
4246
border: 1px solid #000;
4347
}
48+
4449
.regbtn {
4550
text-align: right;
4651
margin: 10px;
@@ -50,3 +55,45 @@
5055
input.ng-invalid.ng-touched {
5156
border: 1px solid red;
5257
}
58+
59+
/* Media Queries for Responsiveness */
60+
61+
@media (max-width: 576px) {
62+
.input-box {
63+
width: 100%;
64+
}
65+
66+
.card-wrapper {
67+
padding: 0;
68+
}
69+
70+
.input-wrapper {
71+
gap: 5px;
72+
}
73+
74+
.regbtn {
75+
text-align: center;
76+
}
77+
}
78+
79+
@media (min-width: 576px) and (max-width: 767px) {
80+
.input-box {
81+
width: 100%;
82+
}
83+
84+
.regbtn {
85+
text-align: center;
86+
}
87+
}
88+
89+
@media (min-width: 768px) and (max-width: 991px) {
90+
.input-box {
91+
width: 48%;
92+
}
93+
}
94+
95+
@media (min-width: 992px) {
96+
.input-box {
97+
width: 48%;
98+
}
99+
}

projects/saas-ui/src/app/main/styles/grid-styles.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,41 @@
2929
}
3030
}
3131
}
32+
33+
/* Media Queries for Responsiveness */
34+
35+
@media (max-width: 576px) {
36+
.heading {
37+
font-size: 18px;
38+
}
39+
40+
.ag-theme-quartz {
41+
height: 350px;
42+
}
43+
}
44+
45+
@media (min-width: 576px) and (max-width: 767px) {
46+
.heading {
47+
font-size: 20px;
48+
}
49+
50+
.ag-theme-quartz {
51+
height: 400px;
52+
}
53+
}
54+
55+
@media (min-width: 768px) and (max-width: 991px) {
56+
.heading {
57+
font-size: 22px;
58+
}
59+
60+
.ag-theme-quartz {
61+
height: 450px;
62+
}
63+
}
64+
65+
@media (max-width: 1200px) {
66+
.ag-theme-quartz {
67+
height: 550px;
68+
}
69+
}

0 commit comments

Comments
 (0)