Skip to content

Commit 0f04b87

Browse files
committed
Proper image aspect ratios!
1 parent a532174 commit 0f04b87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Damselfly.Web/wwwroot/css/site.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ f
433433

434434
.damselfly-logo img {
435435
max-height: 60px;
436-
object-fit: cover;
436+
object-fit: contain;
437437
}
438438

439439

@@ -481,7 +481,7 @@ f
481481

482482
.damselfly-statusbar {
483483
display: flex;
484-
flex: 1;
484+
flex: 0 0 20%;
485485
flex-direction: row;
486486
align-items: center;
487487
min-height: 30px;
@@ -672,8 +672,8 @@ f
672672
.image-fill {
673673
animation: fadeIn ease 1s;
674674
height: calc( 100vh - 100px);
675-
width: calc( 100vh - 100px);
676-
object-fit: cover;
675+
width: 100%;
676+
object-fit: contain;
677677
}
678678

679679
.damselfly-tasks {

0 commit comments

Comments
 (0)