SECURITY: set max-height property for iframes (#22089)
Co-authored-by: David Battersby <info@davidbattersby.com>
This commit is contained in:
parent
5e3106387f
commit
a891e06989
|
@ -1525,6 +1525,11 @@ span.mention {
|
|||
}
|
||||
}
|
||||
|
||||
iframe {
|
||||
max-width: 100%;
|
||||
max-height: #{"min(1000px, 200vh)"};
|
||||
}
|
||||
|
||||
.post-admin-menu {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -373,10 +373,6 @@ button.expand-post {
|
|||
margin-left: var(--topic-body-width-padding);
|
||||
}
|
||||
|
||||
iframe {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
video {
|
||||
max-height: 500px;
|
||||
}
|
||||
|
|
|
@ -276,10 +276,6 @@ span.post-count {
|
|||
z-index: z("tooltip");
|
||||
}
|
||||
|
||||
iframe {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
margin-top: 25px;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue