fixed display of profiles

This commit is contained in:
coolcoala
2025-07-10 20:49:18 +03:00
parent 48a5ff6948
commit d6014865d6
2 changed files with 2 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ const handleNoticeMessage = (
switch (status) {
case "import_sub_url::ok":
mutate("getProfiles");
navigate("/profile", { state: { current: msg } });
showNotice("success", t("Import Subscription Successful"));
break;

View File

@@ -499,7 +499,7 @@ const ProfilePage = () => {
onDragEnd={onDragEnd}
>
<div className="p-4 pt-0">
<div className="grid grid-cols-3 sm:grid-cols-4 md:grid-cols-5 lg:grid-cols-6 xl:grid-cols-7 gap-3">
<div className="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-3">
<SortableContext items={profileItems.map((x) => x.uid)}>
{profileItems.map((item) => (
<ProfileItem