ciyidogan commited on
Commit
9a9a56d
·
verified ·
1 Parent(s): b0ce001

Update flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.scss

Browse files
flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.scss CHANGED
@@ -36,6 +36,7 @@
36
  padding: 12px;
37
  background-color: #f5f5f5;
38
  resize: vertical;
 
39
 
40
  &:focus {
41
  outline: none;
@@ -52,6 +53,10 @@
52
  .template-helpers {
53
  margin-top: 16px;
54
 
 
 
 
 
55
  .template-list {
56
  padding: 16px;
57
  display: flex;
@@ -166,77 +171,18 @@
166
  margin-bottom: 24px;
167
  }
168
 
169
- .test-info {
170
- margin: 16px 0;
171
-
172
- mat-chip-listbox {
173
- mat-chip-option {
174
- margin-right: 8px;
175
- }
176
- }
177
- }
178
-
179
- button {
180
- margin-bottom: 24px;
181
- }
182
-
183
  .test-result {
184
  margin-top: 24px;
185
  border: 1px solid #e0e0e0;
186
  border-radius: 4px;
187
  padding: 16px;
188
  background-color: #fafafa;
 
 
189
 
190
  h4 {
191
  margin-top: 0;
192
- }
193
-
194
- .result-status {
195
- display: flex;
196
- align-items: center;
197
- gap: 12px;
198
- padding: 12px;
199
- border-radius: 4px;
200
  margin-bottom: 16px;
201
-
202
- &.success {
203
- background-color: #e8f5e9;
204
- color: #2e7d32;
205
-
206
- mat-icon {
207
- color: #2e7d32;
208
- }
209
- }
210
-
211
- &.error {
212
- background-color: #ffebee;
213
- color: #c62828;
214
-
215
- mat-icon {
216
- color: #c62828;
217
- }
218
- }
219
-
220
- .status-code,
221
- .response-time {
222
- margin-left: auto;
223
- font-size: 14px;
224
- }
225
- }
226
-
227
- .error-message {
228
- display: flex;
229
- align-items: center;
230
- gap: 8px;
231
- padding: 12px;
232
- background-color: #ffebee;
233
- color: #c62828;
234
- border-radius: 4px;
235
- margin-bottom: 16px;
236
-
237
- mat-icon {
238
- color: #c62828;
239
- }
240
  }
241
 
242
  .response-section {
@@ -255,9 +201,12 @@
255
  overflow-x: auto;
256
  font-size: 12px;
257
  margin: 0;
 
 
258
  }
259
  }
260
  }
 
261
 
262
  .test-note {
263
  display: flex;
@@ -289,10 +238,21 @@ mat-dialog-content {
289
 
290
  mat-tab-group {
291
  height: 100%;
 
 
 
 
 
292
  }
293
  }
294
 
295
  mat-dialog-actions {
296
  padding: 16px 24px;
297
  margin: 0;
 
 
 
 
 
 
298
  }
 
36
  padding: 12px;
37
  background-color: #f5f5f5;
38
  resize: vertical;
39
+ min-height: 150px; // minimum yükseklik eklendi
40
 
41
  &:focus {
42
  outline: none;
 
53
  .template-helpers {
54
  margin-top: 16px;
55
 
56
+ ::ng-deep .mat-expansion-panel-header {
57
+ padding: 0 16px; // padding eklendi
58
+ }
59
+
60
  .template-list {
61
  padding: 16px;
62
  display: flex;
 
171
  margin-bottom: 24px;
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  .test-result {
175
  margin-top: 24px;
176
  border: 1px solid #e0e0e0;
177
  border-radius: 4px;
178
  padding: 16px;
179
  background-color: #fafafa;
180
+ max-height: 500px; // maksimum yükseklik
181
+ overflow-y: auto; // scroll eklendi
182
 
183
  h4 {
184
  margin-top: 0;
 
 
 
 
 
 
 
 
185
  margin-bottom: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  }
187
 
188
  .response-section {
 
201
  overflow-x: auto;
202
  font-size: 12px;
203
  margin: 0;
204
+ white-space: pre-wrap; // uzun satırları sar
205
+ word-break: break-word; // kelime kırılması
206
  }
207
  }
208
  }
209
+ }
210
 
211
  .test-note {
212
  display: flex;
 
238
 
239
  mat-tab-group {
240
  height: 100%;
241
+
242
+ ::ng-deep .mat-mdc-tab-body-wrapper {
243
+ flex: 1;
244
+ overflow-y: auto; // tab içeriği için scroll
245
+ }
246
  }
247
  }
248
 
249
  mat-dialog-actions {
250
  padding: 16px 24px;
251
  margin: 0;
252
+ border-top: 1px solid #e0e0e0; // üst border
253
+ gap: 8px; // butonlar arası boşluk
254
+
255
+ button {
256
+ margin: 0 !important; // varsayılan margin'leri kaldır
257
+ }
258
  }