Css adjustments to override ekkolightbox styling.

This commit is contained in:
mateuswetah 2019-11-12 09:27:34 -03:00
parent 4942a1d2db
commit 0630c163ec
2 changed files with 35 additions and 1 deletions

View File

@ -6,6 +6,7 @@
.modal-dialog {
margin: 3.75rem auto;
max-width: calc(1400px - 16.667vw) !important;
}
.modal-content {
@ -13,6 +14,39 @@
.modal-body {
padding: 0;
.ekko-lightbox-container {
height: auto !important;
max-height: 100%;
max-height: 85vh;
}
.ekko-lightbox-item {
display: -ms-flexbox;
display: flex;
justify-content: center;
align-items: center;
& > * {
width: 100%;
max-width: 100%;
height: auto;
max-height: 85vh;
}
& > img {
width: auto;
}
& > iframe {
min-height: 60vh;
border: none;
}
& > a,
& > p {
padding: 1rem 4.33337vw;
background: white;
border-radius: 3px;
}
}
.ekko-lightbox-nav-overlay {
display: -ms-flexbox !important;

File diff suppressed because one or more lines are too long