Restore font sizes

This commit is contained in:
tomasz-io 2024-10-08 17:46:04 +02:00
parent cacabc89a5
commit cd693fb653
2 changed files with 7 additions and 2 deletions

View file

@ -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"

View file

@ -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={{