[bugfix/Chore] Plugins: Fix the bug that localization and the description can't see form latest information.
Add gap between labels and controller component.
This commit is contained in:
@@ -71,8 +71,6 @@ const PluginDownloadContainer = () => {
|
|||||||
// Duplicate
|
// Duplicate
|
||||||
const is_failed_to_fetch = currentFetchedPluginsInfo.state === "error";
|
const is_failed_to_fetch = currentFetchedPluginsInfo.state === "error";
|
||||||
const is_fetching = currentFetchedPluginsInfo.state === "pending";
|
const is_fetching = currentFetchedPluginsInfo.state === "pending";
|
||||||
console.log(sorted_plugins_data);
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.plugins_list_container}>
|
<div className={styles.plugins_list_container}>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
|
gap: 2rem;
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
border-bottom: 0.1rem solid var(--dark_750_color);
|
border-bottom: 0.1rem solid var(--dark_750_color);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -280,15 +280,10 @@ export const usePlugins = () => {
|
|||||||
const { is_plugin_supported, is_plugin_supported_latest_vrct } = checkVrctVerCompatibility(plugin_info.min_supported_vrct_version, plugin_info.max_supported_vrct_version);
|
const { is_plugin_supported, is_plugin_supported_latest_vrct } = checkVrctVerCompatibility(plugin_info.min_supported_vrct_version, plugin_info.max_supported_vrct_version);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
title: plugin_info.title,
|
...plugin_info,
|
||||||
plugin_id: plugin_info.plugin_id,
|
|
||||||
plugin_version: plugin_info.plugin_version,
|
|
||||||
min_supported_vrct_version: plugin_info.min_supported_vrct_version,
|
|
||||||
max_supported_vrct_version: plugin_info.max_supported_vrct_version,
|
|
||||||
is_plugin_supported: is_plugin_supported,
|
is_plugin_supported: is_plugin_supported,
|
||||||
is_plugin_supported_latest_vrct: is_plugin_supported_latest_vrct,
|
is_plugin_supported_latest_vrct: is_plugin_supported_latest_vrct,
|
||||||
asset_name: plugin_info.asset_name,
|
url: plugin_info_asset_url,
|
||||||
url: plugin_info_asset_url
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user