2023-03-23 01:17:19 +01:00
|
|
|
.mm-modal-content {
|
2023-05-19 22:20:15 +02:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
z-index: $modal-z-index;
|
|
|
|
overflow: auto;
|
|
|
|
overscroll-behavior-y: none;
|
2023-03-23 01:17:19 +01:00
|
|
|
|
2023-05-19 22:20:15 +02:00
|
|
|
&__dialog {
|
|
|
|
--modal-content-size: var(--size, 360px);
|
2023-03-23 01:17:19 +01:00
|
|
|
|
2023-05-19 22:20:15 +02:00
|
|
|
// Currently there is only use case size of ModalContent dialog in the extension
|
|
|
|
// See audit https://www.figma.com/file/hxYqloYgmVcgsoiVqmGZ8K/Modal-Audit?node-id=481%3A244&t=XITeuRB1pRc09hiG-1
|
|
|
|
// Not to say there won't be more in the future, but to prevent redundant code there is only one for now
|
|
|
|
&--size-sm {
|
|
|
|
--size: 360px;
|
2023-03-23 01:17:19 +01:00
|
|
|
|
2023-05-19 22:20:15 +02:00
|
|
|
max-width: var(--modal-content-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
box-shadow: var(--shadow-size-lg) var(--color-shadow-default);
|
|
|
|
}
|
2023-03-23 01:17:19 +01:00
|
|
|
}
|