Fix popup width when embedded in page

This commit is contained in:
Alec Rust
2022-08-21 11:56:31 +01:00
parent 780ea4a9d0
commit bc1263c341
2 changed files with 13 additions and 7 deletions

View File

@@ -100,6 +100,10 @@
margin-bottom: 16px;
}
#sponsorBlockPopupContainer iframe {
width: 100%;
}
/*
* Disable popup max height when displayed in-page (content.ts)
*/
@@ -110,7 +114,7 @@
/*
* Disable fixed popup width when displayed in-page (content.ts)
*/
#sponsorBlockPopupContainer #sponsorBlockPopupBody {
#sponsorBlockPopupBody.is-embedded {
width: auto;
}
@@ -207,7 +211,7 @@
border-radius: 50%;
display: inline-block;
}
/*
/*
* Category name in segment
*/
.summaryLabel {
@@ -511,7 +515,7 @@
background: var(--sb-grey-bg-color);
}
/*
/*
* Submissions
*/
#sponsorTimesContributionsContainer {