Skip to content

Commit afdf3b5

Browse files
committed
refactor(build): 移除未使用的 tsconfig-paths 依赖
移除了 package.json 和 package-lock.json 中未使用的 tsconfig-paths 依赖, 该依赖已不再需要。 同时修复了多处 CSS 媒体查询语法错误,在 and 后面添加了缺失的空格, 确保媒体查询语法正确。
1 parent d70d346 commit afdf3b5

8 files changed

Lines changed: 6 additions & 37 deletions

File tree

package-lock.json

Lines changed: 0 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"nodejieba": "3.5.2",
4545
"rollup-plugin-visualizer": "7.0.0",
4646
"simple-git": "3.32.2",
47-
"tsconfig-paths": "4.2.0",
4847
"tsx": "^4.19.3",
4948
"typescript": "5.9.3",
5049
"unplugin-auto-import": "21.0.0",

src/pages/doc/DocPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ export default defineComponent({
423423
padding: 0 2px;
424424
}
425425
}
426-
@media screen and(max-width: 1366px) {
426+
@media screen and (max-width: 1366px) {
427427
.center {
428428
padding-left: 0rem;
429429
}

src/pages/doc/LinkPopover.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default defineComponent({
120120
.preview-markdown {
121121
max-height: 100%;
122122
}
123-
@media screen and(max-width: 800px) {
123+
@media screen and (max-width: 800px) {
124124
.popover {
125125
width: 80%;
126126
}

src/pages/doc/ToolBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default defineComponent({
209209
padding: 4px;
210210
}
211211
212-
@media screen and(max-width: 1366px) {
212+
@media screen and (max-width: 1366px) {
213213
.tool-box {
214214
right: 74px;
215215
}

src/pages/doc/contents/DocContentsAndPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default defineComponent({
175175
}
176176
177177
/* 为小屏幕调整 */
178-
@media screen and(max-width: 1366px) {
178+
@media screen and (max-width: 1366px) {
179179
.right-bottom-panel-container {
180180
height: 160px;
181181
}

src/pages/doc/mind/MindNote.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default defineComponent({
8989
height: 90%!important;
9090
width: 60%!important;
9191
}
92-
@media screen and(max-width: 1366px) {
92+
@media screen and (max-width: 1366px) {
9393
.mind-note {
9494
width: 300px;
9595
height: 160px;

src/pages/doc/nav/DocTabNav.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default defineComponent({
176176
}
177177
}
178178
179-
@media screen and(max-width: 1366px) {
179+
@media screen and (max-width: 1366px) {
180180
.tab-container {
181181
max-width: 44%;
182182
}

0 commit comments

Comments
 (0)