diff --git a/src/servers/EditServer.tsx b/src/servers/EditServer.tsx index 40c52c68..f18c788d 100644 --- a/src/servers/EditServer.tsx +++ b/src/servers/EditServer.tsx @@ -24,7 +24,7 @@ export const EditServer = (ServerError: FC) => withSelectedServer Edit "{selectedServer.name}"} + title={
Edit "{selectedServer.name}"
} initialValues={selectedServer} onSubmit={handleSubmit} > diff --git a/src/servers/Overview.tsx b/src/servers/Overview.tsx index 0c4ab5c3..974b928b 100644 --- a/src/servers/Overview.tsx +++ b/src/servers/Overview.tsx @@ -9,9 +9,9 @@ import { ShortUrlsTableProps } from '../short-urls/ShortUrlsTable'; import { boundToMercureHub } from '../mercure/helpers/boundToMercureHub'; import { CreateShortUrlProps } from '../short-urls/CreateShortUrl'; import { VisitsOverview } from '../visits/reducers/visitsOverview'; +import { Versions } from '../utils/helpers/version'; import { isServerWithId, SelectedServer } from './data'; import './Overview.scss'; -import { Versions } from '../utils/helpers/version'; interface OverviewConnectProps { shortUrlsList: ShortUrlsListState; diff --git a/src/utils/mixins/sticky-cell.scss b/src/utils/mixins/sticky-cell.scss index 71d48ede..a20f341f 100644 --- a/src/utils/mixins/sticky-cell.scss +++ b/src/utils/mixins/sticky-cell.scss @@ -1,4 +1,4 @@ -@import "../base"; +@import '../base'; @mixin sticky-cell() { z-index: 1; diff --git a/src/visits/VisitsStats.scss b/src/visits/VisitsStats.scss index 264f43da..8f2c9488 100644 --- a/src/visits/VisitsStats.scss +++ b/src/visits/VisitsStats.scss @@ -1,5 +1,11 @@ @import '../utils/base'; +.visits-stats__nav { + position: sticky !important; + top: $headerHeight - 1px; + z-index: 2; +} + .visits-stats__nav-link { border-radius: 0 !important; padding-bottom: calc(.5rem - 3px) !important; diff --git a/src/visits/VisitsStats.tsx b/src/visits/VisitsStats.tsx index 7409b3ef..a2ed0fd8 100644 --- a/src/visits/VisitsStats.tsx +++ b/src/visits/VisitsStats.tsx @@ -116,8 +116,8 @@ const VisitsStats: FC = ({ children, visitsInfo, getVisits, ca return ( <> - -