File tree Expand file tree Collapse file tree 4 files changed +83
-2
lines changed
apps/review/src/pages/scorecards/EditScorecardPage
libs/ui/lib/components/button/base-button Expand file tree Collapse file tree 4 files changed +83
-2
lines changed Original file line number Diff line number Diff line change 35
35
background-color : #F6F7F9 ;
36
36
border-radius : $sp-2 ;
37
37
padding : $sp-8 ;
38
+ @include ltemd {
39
+ padding : $sp-3 ;
40
+ }
38
41
}
39
42
40
43
.scorecardInfo {
60
63
display : flex ;
61
64
gap : $sp-4 ;
62
65
width : 100% ;
66
+ @include ltemd {
67
+ flex-wrap : wrap ;
68
+ position : relative ;
69
+
70
+ .trashIcon {
71
+ position : absolute ;
72
+ bottom : 100% ;
73
+ right : 0 ;
74
+ flex : 0 0 100% ;
75
+ }
76
+ }
63
77
}
64
78
}
65
79
66
80
.contentArea {
67
81
padding : $sp-5 $sp-4 ;
82
+ @include ltemd {
83
+ padding : $sp-3 ;
84
+ }
68
85
}
69
86
70
87
.groupWrap {
76
93
.contentArea {
77
94
background : #E0E4E84D ;
78
95
padding : $sp-10 $sp-8 ;
96
+ @include ltemd {
97
+ padding : $sp-3 ;
98
+ }
79
99
}
80
100
}
81
101
92
112
93
113
.questionWrap {
94
114
.questionItem {
115
+ --pad-x : #{$sp-4 } ;
116
+ --pad-y : #{$sp-5 } ;
117
+
95
118
width : 100% ;
96
- padding : $sp-5 $sp-4 ;
119
+ padding : var ( --pad-y ) var ( --pad-x ) ;
97
120
background : #F6F7F9 ;
98
121
99
122
display : grid ;
120
143
.headerAreaLabel {
121
144
width : 100% ;
122
145
}
146
+
147
+ @include ltemd {
148
+ .questionItem {
149
+ --pad-x : #{$sp-3 } ;
150
+ --pad-y : #{$sp-3 } ;
151
+ position : relative ;
152
+ grid-template-columns : 1fr 1fr ;
153
+ grid-template-rows : auto auto ;
154
+ gap : $sp-4 ;
155
+
156
+ :global (.main-group ) {
157
+ grid-column : 1 / -1 ;
158
+ }
159
+
160
+ :global (.weight-group ) {
161
+ grid-column : 1 / -1 ;
162
+ }
163
+
164
+ :global(.action-group ) {
165
+ position : absolute ;
166
+ top : var (--pad-y );
167
+ right : var (--pad-x );
168
+ height : 28px ;
169
+ }
170
+
171
+ .doubleInputWrap {
172
+ display : flex ;
173
+ flex-direction : column ;
174
+ gap : $sp-4 ;
175
+
176
+ > * {
177
+ flex : 1 ;
178
+ }
179
+ }
180
+ }
181
+ }
123
182
}
124
183
125
184
.xlWidthInput {
135
194
flex : 0 0 40% ;
136
195
}
137
196
197
+ .xlWidthInput ,
198
+ .smWidthInput ,
199
+ .mdWidthInput {
200
+ @include ltemd {
201
+ flex : 0 0 100% ;
202
+ }
203
+ }
204
+
205
+
138
206
.doubleInputWrap {
139
207
display : flex ;
140
208
gap : $sp-3 ;
160
228
justify-content : space-between ;
161
229
align-items : center ;
162
230
margin-top : $sp-5 ;
231
+ @include ltemd {
232
+ flex-direction : column ;
233
+ align-items : center ;
234
+ }
163
235
}
164
236
165
237
.bottomContainer {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const BasicSelect: FC<BasicSelectProps<any>> = props => (
26
26
{ props . options . map ( option => (
27
27
< option
28
28
key = { `${ option . value } ` }
29
- value = { option . value as string }
29
+ value = { ` ${ option . value } ` }
30
30
>
31
31
{ option . label }
32
32
</ option >
Original file line number Diff line number Diff line change 6
6
align-items : center ;
7
7
8
8
margin-right : 56px ;
9
+
10
+ @include ltemd {
11
+ margin-right : 0 ;
12
+ }
9
13
}
10
14
11
15
.labels {
12
16
text-align : right ;
13
17
> * {
14
18
line-height : 20px ;
15
19
}
20
+
21
+ @include ltemd {
22
+ text-align : left ;
23
+ }
16
24
}
17
25
18
26
.value {
Original file line number Diff line number Diff line change @@ -253,4 +253,5 @@ $btn-secondary-border-width: $border;
253
253
--btn-secondary-border-width : 1px ;
254
254
255
255
font-weight : $font-weight-medium ;
256
+ font-family : " Nunito Sans" , sans-serif ;
256
257
}
You can’t perform that action at this time.
0 commit comments