Discourse 应用标题的填充增加了?

随着 2.0 版本的近期发布,我注意到 Discourse 应用中实例标题的内边距发生了变化。我不确定这是 Discourse 本身的问题、仅应用端的问题,还是我们的 CSS 问题。

大约两周前,在我们网站更新之前,我们社区的标题在应用中显示如下:

在最近更改之后,站点名称的内边距发生了显著变化,导致菜单栏覆盖了大部分顶部的管理链接行(页面无法进一步滚动,因此在移动设备上点击“用户”或“仪表盘”变得很困难),如下所示:

如何调整此内边距?我们并未对 CSS 进行任何更改,据我所知,这是来自最新版本的更新。

注意:我们的网站设计要求使用居中的标志,因此我们无法在此位置用标志替代站点名称,我意识到这是默认设计。

You are going to have trouble with a text title that long on mobile. I suggest a logo title instead.

1 个赞

I hear you, BUT …

We were asked to keep the logo central to better match design of the main site, so the only option without major customisation was to do this via CSS and to NOT add a logo in the box so that it displayed the name instead. We are in the process of looking at the design.

However, this has worked sufficiently well until recently. I accept that the two line name is not ideal, but the issue is with the current padding and I would like to change that so that it returns to how it worked until recently. Is there any reason it was changed and cannot have the option of changing back?

You can certainly modify the CSS to your taste via Admin, Customize; nobody is stopping you from doing so.