fixed video bad display
This commit is contained in:
@@ -2122,7 +2122,7 @@ html.classic-nav body.node-type-performance #main #center #content .node.type-pe
|
||||
html.no-js body.node-type-performance #main #center #content .node.type-performance > .content > section.field,
|
||||
html.classic-nav body.node-type-performance #main #center #content .node.type-performance > .content > section.field {
|
||||
flex: 0 0 auto;
|
||||
max-width: 45%;
|
||||
max-width: calc(49% - 2em);
|
||||
margin: 0.5em;
|
||||
}
|
||||
html.no-js body.node-type-performance #main #center #content .node.type-performance > .content > section.field.field-name-field-images,
|
||||
@@ -2283,6 +2283,17 @@ html.classic-nav body.node-type-performance #main #center #content .node.type-pe
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
}
|
||||
@media (max-width: 500px) {
|
||||
html.no-js body.node-type-performance #main #center #content .node.type-performance > .content > section.field,
|
||||
html.classic-nav body.node-type-performance #main #center #content .node.type-performance > .content > section.field {
|
||||
max-width: calc(100% - 2em);
|
||||
}
|
||||
html.no-js body.node-type-performance #main #center #content .node.type-performance > .content > section.field.field-name-field-images,
|
||||
html.classic-nav body.node-type-performance #main #center #content .node.type-performance > .content > section.field.field-name-field-images {
|
||||
flex: 1 1 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext ul.perf-prev-next-btns,
|
||||
html.classic-nav body.node-type-performance #block-perfart-perf-prevnext ul.perf-prev-next-btns,
|
||||
html.no-js body.node-type-performance #block-perfart-perf-prevnext-bottom ul.perf-prev-next-btns,
|
||||
@@ -2408,3 +2419,8 @@ body.node-type-document #center #content figcaption,
|
||||
width: 250px;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.field-type-video-embed-field iframe {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 4/3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user