Compare commits
No commits in common. "main" and "always-use-environment-camera" have entirely different histories.
main
...
always-use
2 changed files with 7 additions and 11 deletions
|
@ -150,18 +150,17 @@ body {
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody > tr > td {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
|
||||||
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
|
|
||||||
"Helvetica Neue", sans-serif !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table > :not(caption) > * > * {
|
.table > :not(caption) > * > * {
|
||||||
background-color: #5e6268 !important;
|
background-color: #5e6268 !important;
|
||||||
color: #f2f2e8 !important;
|
color: #f2f2e8 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
table > thead {
|
table {
|
||||||
|
tbody > td > div {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
||||||
|
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
|
||||||
|
"Helvetica Neue", sans-serif !important;
|
||||||
|
}
|
||||||
letter-spacing: 0.25em;
|
letter-spacing: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import React, { useCallback } from "react";
|
import React, { useCallback } from "react";
|
||||||
import { Pagination as BP } from "react-bootstrap";
|
import { Pagination as BP } from "react-bootstrap";
|
||||||
import { AiOutlineLeft, AiOutlineRight } from "react-icons/ai";
|
import { AiOutlineLeft, AiOutlineRight } from "react-icons/ai";
|
||||||
import { useAuth } from "../../../shared/utils/useAuthentication";
|
|
||||||
|
|
||||||
export const Pagination = ({
|
export const Pagination = ({
|
||||||
currentPage,
|
currentPage,
|
||||||
|
@ -12,8 +11,6 @@ export const Pagination = ({
|
||||||
getPageCount: () => number;
|
getPageCount: () => number;
|
||||||
setPageIndex: (index: number) => void;
|
setPageIndex: (index: number) => void;
|
||||||
}): React.JSX.Element => {
|
}): React.JSX.Element => {
|
||||||
const { authenticated } = useAuth();
|
|
||||||
|
|
||||||
const getPage = useCallback(
|
const getPage = useCallback(
|
||||||
(n: number) => (
|
(n: number) => (
|
||||||
<BP.Item
|
<BP.Item
|
||||||
|
@ -32,7 +29,7 @@ export const Pagination = ({
|
||||||
className='d-flex'
|
className='d-flex'
|
||||||
style={{
|
style={{
|
||||||
marginLeft: "auto",
|
marginLeft: "auto",
|
||||||
marginRight: authenticated ? "10px" : "auto",
|
marginRight: "10px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<BP.Item
|
<BP.Item
|
||||||
|
|
Loading…
Reference in a new issue