From dcea1226142ba6400aa639cb9a31949918217a3b Mon Sep 17 00:00:00 2001 From: stCarolas Date: Wed, 26 Jun 2024 12:59:55 +0300 Subject: [PATCH] fix layout for donaters-top-list --- src/components/DonatersTopList/DonatersTopList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DonatersTopList/DonatersTopList.tsx b/src/components/DonatersTopList/DonatersTopList.tsx index 6d06776..d52ae53 100644 --- a/src/components/DonatersTopList/DonatersTopList.tsx +++ b/src/components/DonatersTopList/DonatersTopList.tsx @@ -101,7 +101,7 @@ export default function DonatersTopList({}: {}) { textStyle.marginLeft = layout === "vertical" ? "0px" : "20px"; const donatersTopStyle = headerFont.calcStyle(); - if (layout === "vertical") { + if (layout !== "vertical") { donatersTopStyle.display = "inline"; } donatersTopStyle.backgroundColor = titleBackgroundColor;