From 70f0eb3af64c35a00ef1de21cd90ad4e6517006c Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Thu, 29 Feb 2024 07:40:09 -0800
Subject: [PATCH 01/18] Minor status refactoring
---
src/components/services/item.jsx | 1 -
src/components/services/status.jsx | 9 ++-------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/components/services/item.jsx b/src/components/services/item.jsx
index 480e58d5d..a38dfaa3a 100644
--- a/src/components/services/item.jsx
+++ b/src/components/services/item.jsx
@@ -36,7 +36,6 @@ export default function Item({ service, group, useEqualHeights }) {
{style !== "dot" ? (
{statusLabel}
From fc1bf53f8fbe94cf52211043c96da0a3693dcf6c Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Thu, 29 Feb 2024 23:42:33 -0800
Subject: [PATCH 02/18] Fix: info widget gaps (#3038)
---
src/components/widgets/widget/container.jsx | 4 ++--
src/pages/index.jsx | 18 +++++++-----------
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/src/components/widgets/widget/container.jsx b/src/components/widgets/widget/container.jsx
index 442aa0842..c9240dd3b 100644
--- a/src/components/widgets/widget/container.jsx
+++ b/src/components/widgets/widget/container.jsx
@@ -16,7 +16,7 @@ export function getAllClasses(options, additionalClassNames = "") {
}
return classNames(
- "flex flex-col justify-center ml-2 mr-2",
+ "flex flex-col justify-center",
"mt-2 m:mb-0 rounded-md shadow-md shadow-theme-900/10 dark:shadow-theme-900/20 bg-theme-100/20 dark:bg-white/5 p-2 pl-3 pr-3",
additionalClassNames,
);
@@ -24,7 +24,7 @@ export function getAllClasses(options, additionalClassNames = "") {
let widgetAlignedClasses = "flex flex-col max-w:full sm:basis-auto self-center grow-0 flex-wrap";
if (options?.style?.isRightAligned) {
- widgetAlignedClasses = "flex flex-col justify-center first:ml-auto ml-2 mr-2 ";
+ widgetAlignedClasses = "flex flex-col justify-center";
}
return classNames(widgetAlignedClasses, additionalClassNames);
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index b62f9ab2d..10b2f6d5a 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -161,10 +161,10 @@ function Index({ initialSettings, fallback }) {
const headerStyles = {
boxed:
- "m-6 mb-0 sm:m-9 sm:mb-0 rounded-md shadow-md shadow-theme-900/10 dark:shadow-theme-900/20 bg-theme-100/20 dark:bg-white/5 p-3",
- underlined: "m-6 mb-0 sm:m-9 sm:mb-1 border-b-2 pb-4 border-theme-800 dark:border-theme-200/50",
- clean: "m-6 mb-0 sm:m-9 sm:mb-0",
- boxedWidgets: "m-6 mb-0 sm:m-9 sm:mb-0 sm:mt-1",
+ "m-5 mb-0 sm:m-9 sm:mb-0 rounded-md shadow-md shadow-theme-900/10 dark:shadow-theme-900/20 bg-theme-100/20 dark:bg-white/5 p-3",
+ underlined: "m-5 mb-0 sm:m-9 sm:mb-1 border-b-2 pb-4 border-theme-800 dark:border-theme-200/50",
+ clean: "m-5 mb-0 sm:m-9 sm:mb-0",
+ boxedWidgets: "m-5 mb-0 sm:m-9 sm:mb-0 sm:mt-1",
};
function Home({ initialSettings }) {
@@ -282,7 +282,7 @@ function Home({ initialSettings }) {
return (
<>
{tabs.length > 0 && (
-