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 {
|
.image {
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ export const FileCard: React.FC<FileCardProps> = props => {
|
|||||||
alt={""}
|
alt={""}
|
||||||
width={100}
|
width={100}
|
||||||
height={100}
|
height={100}
|
||||||
objectFit={"contain"}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in new issue
Block a user