aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-07-02 21:21:04 -0400
committerAjay Ramachandran <[email protected]>2021-07-02 21:21:04 -0400
commitad5248f65e1923939ecaf97f7d8bbc47ca39d7b7 (patch)
tree2d76f8cb21aceed03cdd5946f6df3f28aecf70aa
parentbd429f02a7912528ce5cfa4fc26047185fa52cd9 (diff)
downloadSponsorBlock-ad5248f65e1923939ecaf97f7d8bbc47ca39d7b7.tar.gz
SponsorBlock-ad5248f65e1923939ecaf97f7d8bbc47ca39d7b7.zip
Fix help page showing small options page
-rw-r--r--public/options/options.css6
-rw-r--r--src/options.ts2
2 files changed, 8 insertions, 0 deletions
diff --git a/public/options/options.css b/public/options/options.css
index ddce689c..c7f59244 100644
--- a/public/options/options.css
+++ b/public/options/options.css
@@ -66,6 +66,12 @@ body {
display: inline-block;
}
+#options.embed {
+ max-width: 100%;
+ text-align: left;
+ display: inline-block;
+}
+
.switch-container {
content: attr(label-name);
position: absolute;
diff --git a/src/options.ts b/src/options.ts
index a3bd87d9..50436b4f 100644
--- a/src/options.ts
+++ b/src/options.ts
@@ -18,6 +18,8 @@ async function init() {
for (const element of document.getElementsByClassName("titleBar")) {
element.classList.add("hidden");
}
+
+ document.getElementById("options").classList.add("embed");
}
if (!Config.configListeners.includes(optionsConfigUpdateListener)) {