mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 03:10:50 +08:00
fix(layout): prevent footer gap on non-scroll pages
This commit is contained in:
@@ -242,7 +242,11 @@ export function DashboardPage() {
|
|||||||
</div>
|
</div>
|
||||||
<div className={styles.connectionInfo}>
|
<div className={styles.connectionInfo}>
|
||||||
<span className={styles.serverUrl}>{apiBase || '-'}</span>
|
<span className={styles.serverUrl}>{apiBase || '-'}</span>
|
||||||
{serverVersion && <span className={styles.serverVersion}>v{serverVersion}</span>}
|
{serverVersion && (
|
||||||
|
<span className={styles.serverVersion}>
|
||||||
|
v{serverVersion.trim().replace(/^[vV]+/, '')}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
{serverBuildDate && (
|
{serverBuildDate && (
|
||||||
<span className={styles.buildDate}>
|
<span className={styles.buildDate}>
|
||||||
{new Date(serverBuildDate).toLocaleDateString(i18n.language)}
|
{new Date(serverBuildDate).toLocaleDateString(i18n.language)}
|
||||||
|
|||||||
@@ -331,7 +331,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
flex: 0 0 auto;
|
flex: 1 0 auto;
|
||||||
padding: $spacing-lg;
|
padding: $spacing-lg;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user