cambios #1 se elimina height en marco foto

parent a3a01420
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
video.addEventListener('canplay', function (ev) { video.addEventListener('canplay', function (ev) {
if (!streaming) { if (!streaming) {
height = video.videoHeight / (video.videoWidth / width); height = video.videoHeight / (video.videoWidth / width);
console.log(height);
if (isNaN(height)) { if (isNaN(height)) {
height = width / (4 / 3); height = width / (4 / 3);
} }
......
...@@ -119,7 +119,7 @@ strong { ...@@ -119,7 +119,7 @@ strong {
border:6px solid #f5a800; border:6px solid #f5a800;
width: 480px; width: 480px;
margin:0 auto 2em auto; margin:0 auto 2em auto;
/*height: 360px;*/ height: 360px;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -532,7 +532,7 @@ div .txt-center { ...@@ -532,7 +532,7 @@ div .txt-center {
.marco-foto { .marco-foto {
width: 100%; width: 100%;
max-width: 320px; max-width: 320px;
/*height: auto;*/ height: 360px;
min-height: 240px; min-height: 240px;
overflow: hidden; overflow: hidden;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment