diff --git a/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json index ec60958..36bb281 100644 --- a/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2023-02-18T15:17:00.843Z" + "x-generation-date": "2023-02-19T08:18:39.372Z" }, "x-strapi-config": { "path": "/documentation", diff --git a/frontend/assets/css/main.css b/frontend/assets/css/main.css index d517214..f91cebd 100644 --- a/frontend/assets/css/main.css +++ b/frontend/assets/css/main.css @@ -96,6 +96,7 @@ --jjext-color-fill: #3686ff; --jjext-color-more-list: #9aa3ab; --jjext-color-more-list-border: #ddd; + --jjext-color-column-primary-bg: #1d7dfa; --juejin-color-navs-item-after: #ef4444; --juejin-color-types-list: #71777c; --juejin-color-types-list-tag: #8a9aa9; @@ -230,6 +231,7 @@ html { --juejin-search-border:#ebebeb; --juejin-search-text:#5e6369; --juejin-404-bg:#fff; + --juejin-column-container-bg:#f7f8fa; } html.dark { @@ -362,6 +364,7 @@ html.dark { --juejin-search-border:#b9babe59; --juejin-search-text:#fff; --juejin-404-bg:#222323; + --juejin-column-container-bg:#1e1e20; } .page-enter-active, diff --git a/frontend/components/ArticlesContent/End/ColumnContainer.vue b/frontend/components/ArticlesContent/End/ColumnContainer.vue index dec6943..166d158 100644 --- a/frontend/components/ArticlesContent/End/ColumnContainer.vue +++ b/frontend/components/ArticlesContent/End/ColumnContainer.vue @@ -56,10 +56,10 @@ const handleClick = async (i: any) => { diff --git a/frontend/pages/article/[id].vue b/frontend/pages/article/[id].vue index 505e852..33d5e4e 100644 --- a/frontend/pages/article/[id].vue +++ b/frontend/pages/article/[id].vue @@ -60,7 +60,7 @@ onMounted(() => { padding-right: 2.67rem; box-sizing: border-box; position: relative; - width: 800px; + width: 820px; max-width: 100%; @apply bg-jj-article mb-1.5rem; } @@ -79,12 +79,8 @@ onMounted(() => { position: relative; max-width: 100%; box-sizing: border-box; - } -} - -@media (max-width: 960px) { - .suspension-panel { - display: none; + padding-left: 2rem; + padding-right: 2rem; } } diff --git a/frontend/unocss.config.ts b/frontend/unocss.config.ts index 8f163c6..f1b70a9 100644 --- a/frontend/unocss.config.ts +++ b/frontend/unocss.config.ts @@ -78,6 +78,12 @@ export default defineConfig({ hover: { normal: 'var(--juejin-color-container-hover)', // #F7F8FA #333 }, + column: { + normal: 'var(--juejin-column-container-bg)', + }, + bg: { + normal: 'var(--jjext-color-column-primary-bg)', // #1d7dfa + }, }, border: { normal: 'var(--juejin-article-list-border)', // #e4e6eb #212123