We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd52a3 commit ddb5b33Copy full SHA for ddb5b33
static/app/components/events/eventTagsAndScreenshot/screenshot/modal.tsx
@@ -193,17 +193,19 @@ export default function ScreenshotModal({
193
}
194
195
const AttachmentComponentWrapper = styled('div')`
196
- & > * {
197
- padding: 0;
198
- border: none;
+ & > img,
+ & > video {
+ max-width: 100%;
199
max-height: calc(100vh - 300px);
200
- box-sizing: border-box;
+ width: auto;
201
+ height: auto;
202
+ object-fit: contain;
203
204
`;
205
206
export const modalCss = css`
207
width: auto;
208
height: 100%;
- max-width: 700px;
209
+ max-width: min(90vw, 1500px);
210
margin-top: 0 !important;
211
0 commit comments