Spaces:
Running
Running
Commit
·
e815ac8
1
Parent(s):
de9b052
Update templates/index.html
Browse files- templates/index.html +4 -8
templates/index.html
CHANGED
@@ -162,7 +162,7 @@
|
|
162 |
cursor: pointer;
|
163 |
}
|
164 |
#additional-info {
|
165 |
-
|
166 |
transition: 0.3s ease;
|
167 |
}
|
168 |
|
@@ -199,10 +199,6 @@
|
|
199 |
width: 100%;
|
200 |
max-height: 100%;
|
201 |
}
|
202 |
-
.info {
|
203 |
-
width: 90%;
|
204 |
-
height: 65%;
|
205 |
-
}
|
206 |
}
|
207 |
</style>
|
208 |
</head>
|
@@ -441,11 +437,11 @@
|
|
441 |
const additionalInfo = document.getElementById('additional-info');
|
442 |
const showMore = document.getElementById('show-more');
|
443 |
|
444 |
-
additionalInfo.style.
|
445 |
|
446 |
infoText.addEventListener('click', function() {
|
447 |
-
additionalInfo.style.display = (additionalInfo.style.
|
448 |
-
showMore.style.display = (additionalInfo.style.
|
449 |
});
|
450 |
});
|
451 |
|
|
|
162 |
cursor: pointer;
|
163 |
}
|
164 |
#additional-info {
|
165 |
+
display: none;
|
166 |
transition: 0.3s ease;
|
167 |
}
|
168 |
|
|
|
199 |
width: 100%;
|
200 |
max-height: 100%;
|
201 |
}
|
|
|
|
|
|
|
|
|
202 |
}
|
203 |
</style>
|
204 |
</head>
|
|
|
437 |
const additionalInfo = document.getElementById('additional-info');
|
438 |
const showMore = document.getElementById('show-more');
|
439 |
|
440 |
+
additionalInfo.style.display = 'none';
|
441 |
|
442 |
infoText.addEventListener('click', function() {
|
443 |
+
additionalInfo.style.display = (additionalInfo.style.display === 'none') ? 'block' : 'none';
|
444 |
+
showMore.style.display = (additionalInfo.style.display === 'none') ? 'inline' : 'none';
|
445 |
});
|
446 |
});
|
447 |
|