diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-06-18 20:42:24 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-06-18 20:42:24 -0500 |
| commit | a9b65040996b2c40e6fc03be2a195286976d1637 (patch) | |
| tree | e8b7c460d186b5206985442822e61bbe3bc51085 /src | |
| parent | c292d3db3fd96a72b1be8041d4233ea6e70b1f00 (diff) | |
| download | slskd-a9b65040996b2c40e6fc03be2a195286976d1637.tar.gz | |
tweak styles, move footer under pushable
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/App.css | 20 | ||||
| -rw-r--r-- | src/web/src/components/App.jsx | 12 |
2 files changed, 19 insertions, 13 deletions
diff --git a/src/web/src/components/App.css b/src/web/src/components/App.css index 0ecf500c..5a09fcb1 100644 --- a/src/web/src/components/App.css +++ b/src/web/src/components/App.css @@ -129,6 +129,7 @@ body { .app-content-body { flex: 1; + padding-bottom: 45px; /* footer */ } .navigation { @@ -273,34 +274,39 @@ body { } .footer.ui.menu { - position: sticky !important; + position: fixed !important; bottom: 0 !important; + left: 0 !important; + right: 0 !important; + z-index: 1000 !important; margin: 0 !important; border-radius: 0 !important; } .footer-logo { - height: 14px; - width: auto; - margin-right: 6px; + height: 18px; + width: 18px !important; vertical-align: middle; } .footer-version { margin-left: 6px; font-family: monospace; - font-size: 13px; + font-size: 14px; opacity: 0.7; + margin-top: 1px; } .footer-license { margin-left: 6px; - font-size: 13px; + font-family: monospace; + font-size: 14px; opacity: 0.5; + margin-top: 1px; } .footer-stat-detail { margin-left: 6px; - font-size: 13px; + font-size: 14px; opacity: 0.7; }
\ No newline at end of file diff --git a/src/web/src/components/App.jsx b/src/web/src/components/App.jsx index 59ac7a23..02fa917c 100644 --- a/src/web/src/components/App.jsx +++ b/src/web/src/components/App.jsx @@ -654,14 +654,14 @@ class App extends Component { )} </AppContext.Provider> </div> - <AppFooter - server={server} - transferMetrics={transferMetrics} - user={user} - version={version} - /> </Sidebar.Pusher> </Sidebar.Pushable> + <AppFooter + server={server} + transferMetrics={transferMetrics} + user={user} + version={version} + /> <ToastContainer autoClose={5_000} closeOnClick |
