Abid Ali Awan codex commited on
Commit
2e3c937
·
1 Parent(s): 2a071e1

Fix scam screenshot aspect ratios

Browse files

Co-Authored-By: codex <codex@openai.com>

Files changed (1) hide show
  1. static/styles.css +13 -4
static/styles.css CHANGED
@@ -153,11 +153,17 @@ textarea:disabled { opacity: .45; background: #f0f5f2; cursor: not-allowed; }
153
  .example-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-size: 11px; font-weight: 900; }
154
  .example-card strong, .example-card small { display: block; }
155
  .example-card small { margin-top: 3px; color: var(--muted); }
156
- .example-grid-images { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
157
- .example-image-card { flex-direction: column; align-items: stretch; padding: 10px; gap: 8px; }
 
 
 
 
 
 
158
  .example-thumb {
159
- width: 100%; height: 120px; object-fit: cover; border-radius: 10px;
160
- border: 1px solid var(--line); background: #f5f5f5;
161
  }
162
  .example-image-card strong { font-size: 13px; }
163
  .example-image-card small { font-size: 11px; }
@@ -200,6 +206,7 @@ footer { padding: 24px clamp(18px, 5vw, 72px); display: flex; justify-content: s
200
  .explanation-card { grid-column: auto; }
201
  .section-heading, .result-header { align-items: flex-start; flex-direction: column; }
202
  .field-meta { flex-direction: column; }
 
203
  }
204
 
205
  @media (max-width: 520px) {
@@ -215,6 +222,8 @@ footer { padding: 24px clamp(18px, 5vw, 72px); display: flex; justify-content: s
215
  .result-card { padding: 19px; }
216
  .card-title { grid-template-columns: 30px 1fr; }
217
  .copy-button { grid-column: 2; justify-self: start; }
 
 
218
  footer { flex-direction: column; }
219
  }
220
 
 
153
  .example-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-size: 11px; font-weight: 900; }
154
  .example-card strong, .example-card small { display: block; }
155
  .example-card small { margin-top: 3px; color: var(--muted); }
156
+ .example-grid-images {
157
+ margin-top: 14px;
158
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
159
+ align-items: start;
160
+ }
161
+ .example-image-card {
162
+ align-self: start; flex-direction: column; align-items: stretch; padding: 10px; gap: 10px;
163
+ }
164
  .example-thumb {
165
+ display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain;
166
+ border: 1px solid var(--line); border-radius: 10px; background: #f5f5f5;
167
  }
168
  .example-image-card strong { font-size: 13px; }
169
  .example-image-card small { font-size: 11px; }
 
206
  .explanation-card { grid-column: auto; }
207
  .section-heading, .result-header { align-items: flex-start; flex-direction: column; }
208
  .field-meta { flex-direction: column; }
209
+ .example-grid-images { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
210
  }
211
 
212
  @media (max-width: 520px) {
 
222
  .result-card { padding: 19px; }
223
  .card-title { grid-template-columns: 30px 1fr; }
224
  .copy-button { grid-column: 2; justify-self: start; }
225
+ .example-grid-images { grid-template-columns: 1fr; }
226
+ .example-thumb { width: auto; max-width: 100%; max-height: 440px; margin-inline: auto; }
227
  footer { flex-direction: column; }
228
  }
229