move object fit out of image props
This commit is contained in:
1 parent
5ef4e38d79
commit
45b100ec15
2 files changed
+1
-1
No files matched your search
@@ -10,6 +10,7 @@
|
||||
|
||||
.image {
|
||||
box-shadow: var(--shadow);
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.info {
|
||||
|
||||
@@ -37,7 +37,6 @@ export const FileCard: React.FC<FileCardProps> = props => {
|
||||
alt={""}
|
||||
width={100}
|
||||
height={100}
|
||||
objectFit={"contain"}
|
||||
/>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user