Spaces:
Running on Zero
Running on Zero
Commit ·
f2ed620
1
Parent(s): e574102
Show full source face in thumbnail using object-fit contain
Browse filesPrevents portrait-oriented head crops from being clipped at the top/bottom.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- static/app.css +1 -1
static/app.css
CHANGED
|
@@ -154,7 +154,7 @@ footer{display:none!important}
|
|
| 154 |
position:relative;width:120px;height:120px;border-radius:10px;overflow:hidden;
|
| 155 |
border:2px solid #fbbf24;
|
| 156 |
}
|
| 157 |
-
.source-thumb-img{width:100%;height:100%;object-fit:
|
| 158 |
.source-clear-btn{
|
| 159 |
position:absolute;top:4px;right:4px;width:22px;height:22px;
|
| 160 |
background:rgba(0,0,0,.75);color:#fff;border:1px solid rgba(255,255,255,.2);
|
|
|
|
| 154 |
position:relative;width:120px;height:120px;border-radius:10px;overflow:hidden;
|
| 155 |
border:2px solid #fbbf24;
|
| 156 |
}
|
| 157 |
+
.source-thumb-img{width:100%;height:100%;object-fit:contain}
|
| 158 |
.source-clear-btn{
|
| 159 |
position:absolute;top:4px;right:4px;width:22px;height:22px;
|
| 160 |
background:rgba(0,0,0,.75);color:#fff;border:1px solid rgba(255,255,255,.2);
|