mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
SECURITY: set max-height property for iframes (#22084)
Co-authored-by: David Battersby <info@davidbattersby.com>
This commit is contained in:
parent
4cb3412a56
commit
e576fdbe3a
@ -1536,6 +1536,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
Block a user