From 979920e6324ae43bb614b0f6e4b66e61ff9c427b Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 1 Oct 2023 06:29:28 +0000 Subject: [PATCH] fix invalid display css property --- src/console/completion/components/CompletionTitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/completion/components/CompletionTitle.tsx b/src/console/completion/components/CompletionTitle.tsx index 795b10ea..e7fd54b5 100644 --- a/src/console/completion/components/CompletionTitle.tsx +++ b/src/console/completion/components/CompletionTitle.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled from "styled-components"; const Li = styled.li<{ $shown: number }>` - display: ${({ $shown }) => ($shown ? "display" : "none")}; + display: ${({ $shown }) => ($shown ? "block" : "none")}; background-color: ${({ theme }) => theme.title?.background}; color: ${({ theme }) => theme.title?.foreground}; list-style: none;