# 时间轴滑块中的日期在移动布局中有时不显示

**URL:** <https://meta.discourse.org/t/date-in-timeline-slider-sometimes-not-showing-in-mobile-layout/259646>\
**Category:** UX\
**Created:** [2023 年3 月 28 日 04:19 UTC](https://meta.discourse.org/t/date-in-timeline-slider-sometimes-not-showing-in-mobile-layout/259646 "2023-03-28T04:19:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
发布日期： [2023 年3 月 28 日 13:35 UTC](https://meta.discourse.org/t/date-in-timeline-slider-sometimes-not-showing-in-mobile-layout/259646/4 "2023-03-28T13:35:02Z")

</div>

非常感谢 @awesomerobot 的关注！

> [@awesomerobot](#):
>
> 有时日期会隐藏起来，如果空间不够的话

它有时会为了节省空间而只显示月份而不显示年份吗？还是那是另一套逻辑或一个 bug？我怀疑这与空间限制有关，我尝试了不同的缩放级别，但似乎没有区别，而且我不确定为什么 Firefox 和 Chromium 之间存在不一致。例如：

 ![Screenshot from 2023-03-28 08-25-06](https://global.discourse-cdn.com/meta/original/4X/3/4/5/345ce729319d91da0327c6de5d8acb7c61008a0f.png) ![Screenshot from 2023-03-28 08-25-19](https://global.discourse-cdn.com/meta/original/4X/a/f/2/af25665c50673ce1bd249a7cee08814d3be81b39.png)

然后我不确定为什么显示 _Mar 2020_（只显示 _Mar_，并且只在 Firefox 中显示）和 _Apr 2020_（只在 Firefox 中显示年份）所需的空间量不同：

 ![Screenshot from 2023-03-28 08-27-07](https://global.discourse-cdn.com/meta/original/4X/d/c/9/dc97d2caaa06cf7e968e902610ef094eb630d5de.png) ![Screenshot from 2023-03-28 08-27-19](https://global.discourse-cdn.com/meta/original/4X/b/2/1/b218d1b43f3b258d71cbb365d53102c581a19770.png)

---

_[View the full topic](https://meta.discourse.org/t/date-in-timeline-slider-sometimes-not-showing-in-mobile-layout/259646)._
