Skip to content

Commit

Permalink
fix: 解决请求 category.min.js 时报错不存在的问题
Browse files Browse the repository at this point in the history
Fixes #489
  • Loading branch information
LIlGG committed May 9, 2024
1 parent 60ad0b2 commit de768f1
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 27 deletions.
10 changes: 7 additions & 3 deletions src/css/common/components/page-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
position: relative;
width: 100%;
overflow: hidden;
animation: header .5s;
animation: header 0.5s;

&.single-center {
&::after {
Expand Down Expand Up @@ -48,7 +48,7 @@
height: 17.5rem;

&::after {
content: '';
content: "";
width: 150%;
height: 4.375rem;
background: var(--background-color);
Expand Down Expand Up @@ -175,6 +175,10 @@
}

@mixin screens-md {
& .pattern-title {
flex-direction: column;
}

&.is-decorate {
& .pattern-title {
& h1 {
Expand All @@ -193,4 +197,4 @@
100% {
transform: translateY(0);
}
}
}
6 changes: 6 additions & 0 deletions src/css/theme/category/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
font-size: 30px;
vertical-align: middle;
}

@mixin screens-md {
&::after {
border-right: none;
}
}
}

& .cat-des {
Expand Down
6 changes: 6 additions & 0 deletions src/css/theme/tag/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
font-size: 30px;
vertical-align: middle;
}

@mixin screens-md {
&::after {
border-right: none;
}
}
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/page/category.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// 创建一个空的类,防止请求 category.min.js 时报错
export default class Category {}

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion templates/assets/dist/assets/charts-2dcd04c5.js

This file was deleted.

1 change: 1 addition & 0 deletions templates/assets/dist/assets/charts-f05d9f95.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion templates/assets/dist/assets/core-3d16742f.js

This file was deleted.

1 change: 1 addition & 0 deletions templates/assets/dist/assets/core-72662ce9.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion templates/assets/dist/assets/createSeriesData-4848ff50.js

This file was deleted.

Loading

0 comments on commit de768f1

Please sign in to comment.