Commit
·
89cb58d
1
Parent(s):
a69c295
Update templates/index.html
Browse files- templates/index.html +10 -6
templates/index.html
CHANGED
|
@@ -54,17 +54,21 @@
|
|
| 54 |
#feed-div {
|
| 55 |
display: flex;
|
| 56 |
justify-content: center;
|
| 57 |
-
align-items: center;
|
|
|
|
|
|
|
|
|
|
| 58 |
margin-right: 3%;
|
| 59 |
margin-bottom: 3%;
|
| 60 |
-
width: 60%;
|
| 61 |
-
height: 69%;
|
| 62 |
}
|
| 63 |
.feed {
|
| 64 |
transition: 0.3s ease;
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
| 68 |
}
|
| 69 |
.map {
|
| 70 |
width: 100%;
|
|
|
|
| 54 |
#feed-div {
|
| 55 |
display: flex;
|
| 56 |
justify-content: center;
|
| 57 |
+
align-items: center;
|
| 58 |
+
width: 100%;
|
| 59 |
+
padding-top: 56.25%; /* 16:9 Aspect Ratio */
|
| 60 |
+
position: relative;
|
| 61 |
margin-right: 3%;
|
| 62 |
margin-bottom: 3%;
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
.feed {
|
| 65 |
transition: 0.3s ease;
|
| 66 |
+
position: absolute;
|
| 67 |
+
top: 0;
|
| 68 |
+
left: 0;
|
| 69 |
+
bottom: 0;
|
| 70 |
+
right: 0;
|
| 71 |
+
object-fit: contain;
|
| 72 |
}
|
| 73 |
.map {
|
| 74 |
width: 100%;
|