diff --git a/frontend/src/assets/global.css b/frontend/src/assets/global.css index 79965aa33..1eaff1765 100644 --- a/frontend/src/assets/global.css +++ b/frontend/src/assets/global.css @@ -94,6 +94,13 @@ body { padding-left: 1.5em; } +.info-content-text h1, +.info-content-text h2 { + border-bottom: 1px solid var(--normal-border-color); + padding-bottom: 0.3em; + margin-bottom: 0.8em; +} + .info-content-text { word-break: break-word; max-width: 100%; diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 9c91d0ebb..e640b2c5b 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -89,7 +89,8 @@ const routes = [ { path: '/users/:id', name: 'users', - component: ProfileView + component: ProfileView, + meta: { keepAlive: true } }, { path: '/github-callback', diff --git a/frontend/src/views/PostPageView.vue b/frontend/src/views/PostPageView.vue index c4f9107a3..62c5d118d 100644 --- a/frontend/src/views/PostPageView.vue +++ b/frontend/src/views/PostPageView.vue @@ -924,7 +924,7 @@ export default { .info-content-text { font-size: 16px; - line-height: 1.8; + line-height: 1.5; width: 100%; }