Skip to content

Commit be0331a

Browse files
committed
fixing styling for project images
1 parent 749bcf3 commit be0331a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

css/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,16 @@ section {
288288
.project-image-wrap {
289289
aspect-ratio: 16/9;
290290
background: var(--bg-soft);
291+
padding: 1rem 1.25rem;
292+
display: flex;
293+
align-items: center;
294+
justify-content: center;
291295
}
292296

293297
.project-image {
294298
width: 100%;
295299
height: 100%;
296-
object-fit: cover;
300+
object-fit: contain;
297301
}
298302

299303
.project-tech {

0 commit comments

Comments
 (0)