Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fixes

daniel31x13aa0c7d64f494
diff --git a/components/LinkViews/LinkComponents/LinkList.tsx b/components/LinkViews/LinkComponents/LinkList.tsx
index 9256803e..dfb1e905 100644
--- a/components/LinkViews/LinkComponents/LinkList.tsx
+++ b/components/LinkViews/LinkComponents/LinkList.tsx
@@ -105,7 +105,7 @@ export default function LinkCardCompact({ link, editMode }: Props) {
<div
className={`${selectedStyle} rounded-md border relative group items-center flex ${
!isPWA() ? "hover:bg-base-300 px-2 py-1" : "py-1"
- } duration-200 w-full`}
+ } duration-200`}
onClick={() =>
selectable
? handleCheckboxClick(link)
diff --git a/layouts/MainLayout.tsx b/layouts/MainLayout.tsx
index 442051e0..2df5b6d5 100644
--- a/layouts/MainLayout.tsx
+++ b/layouts/MainLayout.tsx
@@ -42,7 +42,7 @@ export default function MainLayout({ children }: Props) {
</div>
<div
- className={`w-full sm:pb-0 pb-20 flex flex-col min-h-screen lg:ml-80`}
+ className={`lg:w-[calc(100%-320px)] overflow-x-hidden w-full sm:pb-0 pb-20 flex flex-col min-h-screen lg:ml-80`}
>
<Navbar />
{children}
diff --git a/package.json b/package.json
index b0003cf5..b9eac647 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "linkwarden",
- "version": "v2.9.2",
+ "version": "v2.9.3",
"main": "index.js",
"repository": "https://github.com/linkwarden/linkwarden.git",
"author": "Daniel31X13 <[email protected]>",
diff --git a/pages/api/v1/rss/index.ts b/pages/api/v1/rss/index.ts
index 2e2465ae..1a4ea6fe 100644
--- a/pages/api/v1/rss/index.ts
+++ b/pages/api/v1/rss/index.ts
@@ -48,7 +48,7 @@ export default async function handler(
const RSS_SUBSCRIPTION_LIMIT_PER_USER =
Number(process.env.RSS_SUBSCRIPTION_LIMIT_PER_USER) || 20;
- if (rssSubscriptionCount >= 10) {
+ if (rssSubscriptionCount >= RSS_SUBSCRIPTION_LIMIT_PER_USER) {
return res.status(403).json({
response: `You have reached the limit of ${RSS_SUBSCRIPTION_LIMIT_PER_USER} RSS subscriptions.`,
});