diff --git a/packages/app/src/components/dialog-changelog.css b/packages/app/src/components/dialog-changelog.css index 9b3c4df09e..e5d54c2554 100644 --- a/packages/app/src/components/dialog-changelog.css +++ b/packages/app/src/components/dialog-changelog.css @@ -1,5 +1,7 @@ .dialog-changelog { - min-height: 0; + min-height: 500px; + display: flex; + flex-direction: column; } .dialog-changelog [data-slot="dialog-body"] { @@ -7,15 +9,19 @@ overflow: hidden; display: flex; flex-direction: column; + min-height: 0; } .dialog-changelog-list { flex: 1; overflow: hidden; + display: flex; + flex-direction: column; + min-height: 0; } .dialog-changelog-list [data-slot="list-scroll"] { - height: 100%; + flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-weak-base) transparent; @@ -44,6 +50,7 @@ .dialog-changelog-header { padding: 8px 12px 8px 8px; + margin-top: 32px; display: flex; align-items: baseline; gap: 8px; @@ -70,9 +77,7 @@ opacity: 1; } -.dialog-changelog-divider { - border-bottom: 1px solid var(--border-weak-base); -} + .dialog-changelog-version { font-size: 20px; diff --git a/packages/app/src/components/dialog-changelog.tsx b/packages/app/src/components/dialog-changelog.tsx index b9e23adbdc..5cd68a4b83 100644 --- a/packages/app/src/components/dialog-changelog.tsx +++ b/packages/app/src/components/dialog-changelog.tsx @@ -105,24 +105,26 @@ export function DialogChangelog() { } return ( - - -

Loading...

-
- -

{error()}

-
- -

No releases found.

-
- 0}> - - + +
+ +

Loading...

+
+ +

{error()}

+
+ +

No releases found.

+
+ 0}> + + +
) } diff --git a/packages/app/src/components/dialog-settings.tsx b/packages/app/src/components/dialog-settings.tsx index 4500b44219..6fd02101a5 100644 --- a/packages/app/src/components/dialog-settings.tsx +++ b/packages/app/src/components/dialog-settings.tsx @@ -60,14 +60,12 @@ export const DialogSettings: Component = () => {
{language.t("app.name.desktop")} v{platform.version} - +
diff --git a/packages/app/src/components/release-list.tsx b/packages/app/src/components/release-list.tsx index da3a5cec83..cbc9d1bfe1 100644 --- a/packages/app/src/components/release-list.tsx +++ b/packages/app/src/components/release-list.tsx @@ -54,7 +54,7 @@ export const ReleaseList: Component = (props) => { search={false} emptyMessage="No releases found" loadingMessage="Loading..." - class="dialog-changelog-list" + class="dialog-changelog-list flex-1 min-h-0" add={{ render: () => props.hasMore ? ( @@ -69,7 +69,6 @@ export const ReleaseList: Component = (props) => { {(item) => ( <> -