Skip to content

Commit abc66b6

Browse files
committed
Add dialog border
1 parent 957943a commit abc66b6

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

packages/mdx/src/mini-editor/dialog.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@
3030
inset: 40px;
3131
overflow: hidden;
3232
border-radius: 8px;
33+
border: 1px solid;
3334
}

packages/mdx/src/mini-editor/expand-button.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from "react"
2+
import { ColorName, getColor } from "utils"
23
import { IRawTheme } from "vscode-textmate"
34
import { CodeBrowser } from "./code-browser"
45
import { EditorStep } from "./editor-shift"
@@ -48,7 +49,15 @@ export function ExpandButton({
4849
}}
4950
/>
5051
{expanded ? (
51-
<div className="ch-expand-dialog-content">
52+
<div
53+
className="ch-expand-dialog-content"
54+
style={{
55+
borderColor: getColor(
56+
theme,
57+
ColorName.SideBarBorder
58+
),
59+
}}
60+
>
5261
<CodeBrowser
5362
files={files}
5463
theme={theme}

0 commit comments

Comments
 (0)