diff --git a/public/themes/dist_static/static/css/news-detail.css b/public/themes/dist_static/static/css/news-detail.css index dc037b6..c6b99e3 100644 --- a/public/themes/dist_static/static/css/news-detail.css +++ b/public/themes/dist_static/static/css/news-detail.css @@ -190,6 +190,7 @@ display: flex; align-items: center; justify-content: center; + min-width: 0; height: 3.5rem; overflow: hidden; border-radius: 1rem; @@ -223,6 +224,12 @@ .nd-pager__label { position: relative; z-index: 1; + display: block; + max-width: 100%; + padding: 0 1rem; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } @media (max-width: 1439px) { diff --git a/public/themes/website/1/zh/demo/news-detail.html b/public/themes/website/1/zh/demo/news-detail.html index d8be173..4fccda5 100644 --- a/public/themes/website/1/zh/demo/news-detail.html +++ b/public/themes/website/1/zh/demo/news-detail.html @@ -175,20 +175,20 @@ {/php} {if condition="empty($preId)"} - 上一篇:没有了 + 上一篇:没有了 {else /} - 上一篇:{$preTitle} + 上一篇:{$preTitle} {/if} {if condition="empty($nextId)"} - 下一篇:没有了 + 下一篇:没有了 {else /} - 下一篇:{$nextTitle} + 下一篇:{$nextTitle} {/if}