From 1e94fe87afb99c56b1ac483e021e883cc0eb0dfe Mon Sep 17 00:00:00 2001 From: David Aerne Date: Tue, 27 Jun 2023 17:06:59 +0200 Subject: [PATCH] Remove styling on #pageContent (#1727) * remove styling on #pageContent * add a spacious modifier to make content during the login flow wider * make sure l-wrap is always around * revert l-wrap--spacious * make the l-wrap part of mainWindow --- src/frontend/index.html | 2 +- src/frontend/src/components/mainWindow.ts | 18 ++++++++++-------- src/frontend/src/styles/main.css | 3 --- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/frontend/index.html b/src/frontend/index.html index 5c7804e8ca..27393a8a65 100644 --- a/src/frontend/index.html +++ b/src/frontend/index.html @@ -12,7 +12,7 @@ -
+
diff --git a/src/frontend/src/components/mainWindow.ts b/src/frontend/src/components/mainWindow.ts index adb2ecb4eb..6f4bd9ab30 100644 --- a/src/frontend/src/components/mainWindow.ts +++ b/src/frontend/src/components/mainWindow.ts @@ -38,15 +38,17 @@ export const mainWindow = ({ containerClasses.push(...additionalContainerClasses); } return html` -
- ${showLogo ? html`` : ""} -
-
${slot}
+
+
+ ${showLogo ? html`` : ""} +
+
${slot}
+
+ ${showFooter ? footer : ""}
- ${showFooter ? footer : ""} `; }; diff --git a/src/frontend/src/styles/main.css b/src/frontend/src/styles/main.css index 3b4e9088df..c5f1c18aeb 100644 --- a/src/frontend/src/styles/main.css +++ b/src/frontend/src/styles/main.css @@ -605,7 +605,6 @@ a:hover, width: 100%; } -#pageContent, .l-wrap { position: relative; display: flex; @@ -616,7 +615,6 @@ a:hover, } @media (max-width: 512px) { - #pageContent, .l-wrap { padding: var(--rs-card-bezel); } @@ -2404,7 +2402,6 @@ a.c-action-list__item { /** responsiveness */ @media (max-width: 512px) { - #pageContent, .l-wrap { justify-content: flex-start; padding: 0;