Restore font sizes
This commit is contained in:
parent
cacabc89a5
commit
cd693fb653
2 changed files with 7 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ import {
|
|||
} from ".";
|
||||
import ButtonWithTooltip from "./ButtonWithTooltip";
|
||||
import useHistory from "../hooks/useHistory";
|
||||
import { getFontSize } from "../util";
|
||||
|
||||
const SearchBarContainer = styled.div`
|
||||
display: flex;
|
||||
|
|
@ -281,7 +282,7 @@ export function History() {
|
|||
const earlier = new Date(0);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div style={{ fontSize: getFontSize() }}>
|
||||
<SearchBarContainer className="space-x-2">
|
||||
<SearchBar
|
||||
className="flex-1 w-full"
|
||||
|
|
|
|||
|
|
@ -2,13 +2,17 @@ import { useNavigate } from "react-router-dom";
|
|||
import { lightGray, vscBackground } from "../../components";
|
||||
import { useNavigationListener } from "../../hooks/useNavigationListener";
|
||||
import { ArrowLeftIcon } from "@heroicons/react/24/outline";
|
||||
import { getFontSize } from "../../util";
|
||||
|
||||
export const HistoryHeader = () => {
|
||||
useNavigationListener();
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<div className="sticky top-0" style={{ backgroundColor: vscBackground }}>
|
||||
<div
|
||||
className="sticky top-0"
|
||||
style={{ backgroundColor: vscBackground, fontSize: getFontSize() }}
|
||||
>
|
||||
<div
|
||||
className="items-center flex m-0 p-0"
|
||||
style={{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue