From bd296080106c976995d465a8e542aed59c6772ee Mon Sep 17 00:00:00 2001 From: Lukian Date: Mon, 28 Apr 2025 11:01:50 +0200 Subject: [PATCH] fix: fixed emoji size on emojispage --- front/src/pages/EmojisPage.tsx | 2 ++ front/src/styles/EmojisPage.css | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 front/src/styles/EmojisPage.css diff --git a/front/src/pages/EmojisPage.tsx b/front/src/pages/EmojisPage.tsx index 9cd4009..95bb4ec 100644 --- a/front/src/pages/EmojisPage.tsx +++ b/front/src/pages/EmojisPage.tsx @@ -4,6 +4,8 @@ import { Emojis, User } from "../types" import axios from "axios" import TopBar from "../components/TopBar" +import "../styles/EmojisPage.css" + export default function EmojisPage({socket}: {socket: WebSocket}) { const [emojis, setEmojis] = useState(); const [search, setSearch] = useState(""); diff --git a/front/src/styles/EmojisPage.css b/front/src/styles/EmojisPage.css new file mode 100644 index 0000000..ee8aa8c --- /dev/null +++ b/front/src/styles/EmojisPage.css @@ -0,0 +1,4 @@ +.emoji { + max-width: 5em; + max-height: 5em; +} \ No newline at end of file