mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-25 11:48:14 +03:00
31 lines
572 B
CSS
31 lines
572 B
CSS
.embed-modal-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
pointer-events: none;
|
|
|
|
.top-controls {
|
|
padding: 16px;
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: space-between;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.embed-content {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
iframe {
|
|
pointer-events: auto;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
width: max(var(--width), 480px);
|
|
height: auto;
|
|
aspect-ratio: var(--aspect-ratio);
|
|
}
|
|
}
|
|
}
|