Ayeeee45's picture
Fix preview page not generating face swaps
7281673 verified
raw
history blame contribute delete
862 Bytes
/* Custom styles that can't be handled by Tailwind */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
#image-preview img, #results-container img, #gallery-grid img {
aspect-ratio: 1/1;
object-fit: cover;
border-radius: 0.5rem;
cursor: pointer;
transition: transform 0.2s;
max-width: 100%;
height: auto;
}
#image-preview > div {
position: relative;
overflow: hidden;
}
#upload-area {
transition: all 0.2s;
}
#image-preview img:hover, #results-container img:hover, #gallery-grid img:hover {
transform: scale(1.05);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}