-
- {itemWarning()}
-
- {selectedItem.photos && (
-
-
-
-
+
+
{itemWarning()}
+ {selectedItem.photos && (
+
+
+
- )}
- {selectedItem.settings && selectedItem.screenshot_url !== null && (
-

{
- e.target.onerror = null;
- e.target.src = '/icons/marketplace-placeholder.png';
- }}
- />
- )}
-
-
- {variables.getMessage('marketplace:product.description')}
-
- {selectedItem.description}
-
+ )}
+ {selectedItem.settings && selectedItem.screenshot_url !== null && (
+

{
+ e.target.onerror = null;
+ e.target.src = '/icons/marketplace-placeholder.png';
+ }}
+ />
+ )}
+
+
+ {variables.getMessage('marketplace:product.description')}
+
+ {selectedItem.description}
+
+
diff --git a/src/features/marketplace/views/oldItemPage.jsx b/src/features/marketplace/views/oldItemPage.jsx
index df24a5bc..c9d30417 100644
--- a/src/features/marketplace/views/oldItemPage.jsx
+++ b/src/features/marketplace/views/oldItemPage.jsx
@@ -28,10 +28,11 @@ import Markdown from 'markdown-to-jsx';
class ItemPage extends PureComponent {
constructor(props) {
super(props);
- console.log(this.props)
+ console.log(this.props);
this.state = {
showUpdateButton:
- this.props.data.local.installed === true && this.props.data.local.version !== this.props.data.version,
+ this.props.data.local.installed === true &&
+ this.props.data.local.version !== this.props.data.version,
shareModal: false,
count: 5,
moreByCurator: [],
@@ -74,11 +75,11 @@ class ItemPage extends PureComponent {
document.querySelector('#modal').scrollTop = 0;
this.setState({
button: this.props.data.local.installed ? this.buttons.uninstall : this.buttons.install,
- })
+ });
}
updateAddon() {
- // uninstall(this.props.data.type, this.props.data.display_name);
+ // uninstall(this.props.data.type, this.props.data.display_name);
//install(this.props.data.type, this.props.data);
toast(variables.getMessage('toasts.updated'));
this.setState({
@@ -106,9 +107,9 @@ class ItemPage extends PureComponent {
manage(type) {
if (type === 'install') {
- // install(this.props.data.type, this.props.data.data);
+ // install(this.props.data.type, this.props.data.data);
} else {
- // uninstall(this.props.data.type,this.props.data.display_name);
+ // uninstall(this.props.data.type,this.props.data.display_name);
}
toast(variables.getMessage('toasts.' + type + 'ed'));
@@ -332,9 +333,7 @@ class ItemPage extends PureComponent {
>
)}
-
- {variables.getMessage('marketplace:product.details')}
-
+
{variables.getMessage('marketplace:product.details')}
{this.props.data.data.updated_at &&
moreInfoItem(
@@ -364,9 +363,8 @@ class ItemPage extends PureComponent {
{moreInfoItem(
,
variables.getMessage('settings:sections.background.type.title'),
- variables.getMessage(
- 'marketplace:' + this.getName(this.props.data.data.type),
- ) || 'marketplace',
+ variables.getMessage('marketplace:' + this.getName(this.props.data.data.type)) ||
+ 'marketplace',
)}
@@ -392,9 +390,7 @@ class ItemPage extends PureComponent {
this.state.button
) : (
- {variables.getMessage(
- 'marketplace:product.buttons.not_available_preview',
- )}
+ {variables.getMessage('marketplace:product.buttons.not_available_preview')}
)}
{this.props.data.data.sideload !== true && (
@@ -416,9 +412,7 @@ class ItemPage extends PureComponent {
)
}
icon={
}
- tooltipTitle={variables.getMessage(
- 'marketplace:product.buttons.report',
- )}
+ tooltipTitle={variables.getMessage('marketplace:product.buttons.report')}
tooltipKey="report"
/>
diff --git a/src/features/misc/modals/Modals.jsx b/src/features/misc/modals/Modals.jsx
index aa075f49..1813a6aa 100644
--- a/src/features/misc/modals/Modals.jsx
+++ b/src/features/misc/modals/Modals.jsx
@@ -56,7 +56,8 @@ function Modals() {
closeTimeoutMS={300}
onRequestClose={() => toggleModal('main', false)}
isOpen={main}
- className="h-[80vh] w-modal border-3 border-modal ease-in-out duration-800 transition-all backdrop-blur-3xl bg-modal-light dark:bg-modal-dark text-black dark:text-white overflow-y-auto shadow-xl rounded"
+ id="#modal"
+ className="z-[100] h-[80vh] w-modal border-3 border-modal ease-in-out duration-800 transition-all backdrop-blur-3xl bg-modal-light dark:bg-modal-dark text-black dark:text-white overflow-y-auto shadow-xl rounded"
overlayClassName="grid place-content-center absolute top-0 left-0 h-screen w-screen"
ariaHideApp={false}
>
diff --git a/src/features/misc/views/Addons.jsx b/src/features/misc/views/Addons.jsx
index 91fbbe23..a80bfde7 100644
--- a/src/features/misc/views/Addons.jsx
+++ b/src/features/misc/views/Addons.jsx
@@ -16,7 +16,7 @@ function Addons(props) {
*/
},
(
-
+
)
diff --git a/src/features/misc/views/Marketplace.jsx b/src/features/misc/views/Marketplace.jsx
index d7af0e82..44014082 100644
--- a/src/features/misc/views/Marketplace.jsx
+++ b/src/features/misc/views/Marketplace.jsx
@@ -54,7 +54,7 @@ function Marketplace() {
return (
)}
- {selectedCollection !== null && (
-
- )}
+ {selectedCollection !== null && }
);
diff --git a/tailwind.config.js b/tailwind.config.js
index 2bfdd4eb..6bcf1d55 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -12,6 +12,10 @@ module.exports = {
light: 'rgba(255, 255, 255, .85)',
dark: 'rgba(14, 16, 19, .85)',
},
+ 'modal-content': {
+ light: 'rgba(255, 255, 255, .95)',
+ dark: 'rgba(14, 16, 19, .95)',
+ },
background: {
light: 'rgba(255, 255, 255, 0.7)',
dark: 'rgba(0, 0, 0, 0.7)',