From 179add9e122e4fee8d55494149189fa14f34d9ec Mon Sep 17 00:00:00 2001 From: "Prad Nukala (aider)" Date: Tue, 10 Dec 2024 13:54:16 -0500 Subject: [PATCH] refactor: Improve mobile layout responsiveness for Rows and Columns components --- pkg/common/styles/layout/container.templ | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/common/styles/layout/container.templ b/pkg/common/styles/layout/container.templ index eabf3394a..98ddf9f05 100644 --- a/pkg/common/styles/layout/container.templ +++ b/pkg/common/styles/layout/container.templ @@ -1,8 +1,8 @@ package layout -// Columns is a component that renders a flex container with a gap of 3 and a max width of 100% +// Columns is a component that renders a responsive flex container that stacks on mobile templ Columns() { -
+
{ children... }
} @@ -19,9 +19,9 @@ templ Container() {
} -// Rows is a component that renders a flex container with a gap of 2 and a max width of 100% +// Rows is a component that renders a responsive flex container that wraps on mobile templ Rows() { -
+
{ children... }
}