Skip to content

Commit

Permalink
fix invalid display css property
Browse files Browse the repository at this point in the history
  • Loading branch information
ueokande committed Oct 1, 2023
1 parent 9c6e837 commit 979920e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/completion/components/CompletionTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 979920e

Please sign in to comment.