Skip to content

Commit 0dd8612

Browse files
committed
Add header scaling
1 parent 6a38987 commit 0dd8612

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/data
33
.DS_Store
44
*/.DS_Store
5-
.Rproj.user
5+
.Rproj.user/

radar-header.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
}
88

99
.radar-header picture img {
10-
width: 100%; /* Scale image to container width */
11-
height: auto; /* Maintain aspect ratio */
12-
display: block; /* Removes bottom whitespace */
10+
width: 100%;
11+
height: auto;
12+
display: block;
13+
object-fit: contain;
1314
}
1415
</style>
1516

0 commit comments

Comments
 (0)