aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-09-21 12:46:00 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-09-21 12:50:31 +0900
commit35da038ba324a32eed63c04e19fd31d7137880a9 (patch)
treed070404e179510b63ca8e58fe486cd8208dd20b1 /src/console
parent8bfa19885bc84e5b75009b24050be8304d52d3b2 (diff)
Fix console icon
Diffstat (limited to 'src/console')
-rw-r--r--src/console/components/console/CompletionItem.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/components/console/CompletionItem.tsx b/src/console/components/console/CompletionItem.tsx
index 46cd95c..5f2f9f6 100644
--- a/src/console/components/console/CompletionItem.tsx
+++ b/src/console/components/console/CompletionItem.tsx
@@ -6,7 +6,7 @@ const Container = styled.li<{
icon: string;
highlight: boolean;
}>`
- backgroundimage: ${({ icon }) => "url(" + icon + ")"};
+ background-image: ${({ icon }) => "url(" + icon + ")"};
background-color: ${({ highlight, theme }) =>
highlight
? theme.completionSelectedBackground
@@ -16,7 +16,7 @@ const Container = styled.li<{
? theme.completionSelectedForeground
: theme.completionItemForeground};
display: ${({ shown }) => (shown ? "display" : "none")};
- padding-left: 1.5rem;
+ padding-left: 1.8rem;
background-position: 0 center;
background-size: contain;
background-repeat: no-repeat;