Skip to content

Commit

Permalink
chore: 修改 mvt 数据集元数据预览属性样式
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Sep 27, 2023
1 parent 503d25a commit 61368e1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/li-editor/src/widgets/TilesetsDataset/MVTTile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,19 @@ const MVTTile = (props: MVTTileProps) => {
</Form.Item> */}
</Form>
<div style={{ marginLeft: 20, marginTop: -70, height: 350, width: '100%', backgroundColor: '#1e1e1e' }}>
{metadata && <MonacoEditor language="json" options={{ readOnly: true }} theme="vs-dark" value={metadata} />}
{metadata && (
<MonacoEditor
language="json"
options={{
readOnly: true,
minimap: { enabled: false },
lineNumbers: 'off',
overviewRulerBorder: false,
}}
theme="vs-dark"
value={metadata}
/>
)}
</div>
</div>
<div className="ant-modal-footer">
Expand Down

0 comments on commit 61368e1

Please sign in to comment.