mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Move markdown css import so it doesn't affect Storybook (#1465)
This commit is contained in:
parent
f7875bc4f0
commit
9ab7b25aa1
@ -32,7 +32,6 @@ const config: StorybookConfig = {
|
||||
const { tsImport } = await import("tsx/esm/api");
|
||||
const electronViteConfig = (await tsImport("../electron.vite.config.ts", import.meta.url))
|
||||
.default as ElectronViteConfig;
|
||||
config.base = "/storybook/";
|
||||
const mergedConfig = mergeConfig(config, electronViteConfig.renderer as UserConfig);
|
||||
mergedConfig.build.outDir = "storybook-static";
|
||||
return mergedConfig;
|
||||
|
@ -1,6 +1,8 @@
|
||||
// Copyright 2024, Command Line Inc.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
@import url("../../../node_modules/highlight.js/styles/github-dark-dimmed.min.css");
|
||||
|
||||
.markdown {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Used for syntax highlighting in markdown
|
||||
@import url("../../node_modules/highlight.js/styles/github-dark-dimmed.min.css");
|
||||
|
||||
:root {
|
||||
--main-text-color: #f7f7f7;
|
||||
|
Loading…
Reference in New Issue
Block a user