change paddings
This commit is contained in:
Vendored
+3
-2
@@ -329,8 +329,9 @@ body[showing-chat] #chat-page-wrapper {
|
||||
overflow: scroll;
|
||||
scroll-snap-align: center;
|
||||
}
|
||||
#home-page #overview-section {
|
||||
padding-bottom: calc(var(--content-padding) + var(--safe-area-bottom));
|
||||
#home-page #overview-section,
|
||||
#home-page #chat-section {
|
||||
padding-bottom: calc(var(--content-padding) + var(--header-height) + var(--safe-area-bottom));
|
||||
}
|
||||
#home-page #chat-grid {
|
||||
margin-top: var(--content-padding);
|
||||
|
||||
Vendored
+1
-1
@@ -1719,7 +1719,7 @@
|
||||
function scrollToChat() {
|
||||
chatSection.scrollIntoView();
|
||||
}
|
||||
return /* @__PURE__ */ createElement("article", { id: "home-page" }, /* @__PURE__ */ createElement("header", null, /* @__PURE__ */ createElement("span", null, translations.homePage.appName)), /* @__PURE__ */ createElement("div", null, overviewSection, chatSection));
|
||||
return /* @__PURE__ */ createElement("article", { id: "home-page" }, /* @__PURE__ */ createElement("div", null, overviewSection, chatSection));
|
||||
}
|
||||
|
||||
// src/Model/settingsModel.ts
|
||||
|
||||
@@ -29,8 +29,9 @@
|
||||
scroll-snap-align: center;
|
||||
}
|
||||
|
||||
#home-page #overview-section {
|
||||
padding-bottom: calc(var(--content-padding) + var(--safe-area-bottom));
|
||||
#home-page #overview-section,
|
||||
#home-page #chat-section {
|
||||
padding-bottom: calc(var(--content-padding) + var(--header-height) + var(--safe-area-bottom));
|
||||
}
|
||||
|
||||
#home-page #chat-grid {
|
||||
|
||||
@@ -181,9 +181,6 @@ export function HomePage(
|
||||
// final
|
||||
return (
|
||||
<article id="home-page">
|
||||
<header>
|
||||
<span>{translations.homePage.appName}</span>
|
||||
</header>
|
||||
<div>
|
||||
{overviewSection}
|
||||
{chatSection}
|
||||
|
||||
Reference in New Issue
Block a user