better firefox dropdown

This commit is contained in:
David Ralph
2021-02-26 15:35:50 +00:00
parent 2664fcab19
commit 412aa339d9
3 changed files with 17 additions and 4 deletions

View File

@@ -69,6 +69,7 @@ export default class MarketplaceFunctions {
}
let installed = JSON.parse(localStorage.getItem('installed'));
if (sideload) {
installed.push({
content: {
@@ -76,7 +77,10 @@ export default class MarketplaceFunctions {
data: input
}
});
} else installed.push(input);
} else {
installed.push(input);
}
localStorage.setItem('installed', JSON.stringify(installed));
}
}

View File

@@ -14,3 +14,12 @@
float: right;
}
}
// firefox dropdown
@supports (-moz-appearance:none) {
select {
-moz-appearance: none !important;
background: url('data:image/gif;base64,R0lGODlhBgAGAKEDAFVVVX9/f9TU1CgmNyH5BAEKAAMALAAAAAAGAAYAAAIODA4hCDKWxlhNvmCnGwUAOw==') right center no-repeat, linear-gradient(180deg, #ffb032 0%, #dd3b67 100%) !important;
background-position: calc(100% - 5px) center !important;
}
}