Skip to content

Commit

Permalink
Merge pull request #926 from juestchaos/main
Browse files Browse the repository at this point in the history
更新
  • Loading branch information
juestchaos authored Jan 9, 2025
2 parents ea607bf + 962e95e commit 183f2f9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
uid: 20250108152913
title: Obsidian 样式:Thino 多文件模式超长文件名优化显示
tags: []
description: Obsidian 样式:Thino 多文件模式超长文件名优化显示
author: OS
type: other
draft: false
editable: false
modified: 20250108153128
---

# Obsidian 样式:Thino 多文件模式超长文件名优化显示

## 概述

此内容适用于 Thino Pro 用户,在选择多文件存储时,自行修改了多文件的存储文件名,且修改名过长的情况。

可能会导致移动端或者 PC 端,显示界面异常,但不影响使用。

通过添加 自定义样式,可以修复此问题

```CSS
span.time-text.source-path {
/* 首先设置元素为不换行显示 */
white-space: nowrap;
/* 超出元素宽度部分隐藏 */
overflow: hidden;
/* 当文本溢出时显示省略号 */
text-overflow: ellipsis;
/* 这里可以根据你期望的最大宽度进行设置,比如设置宽度为100px,你可以按需调整具体数值 */
width: 180px;
}

```
3 changes: 2 additions & 1 deletion 10-Obsidian/Obsidian外观/Obsidian的CSS代码片段.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author: OS,PKMer
type: awesome
draft: false
editable: false
modified: 20241226133711
modified: 20250108153208
---

# Obsidian 的 CSS 代码片段
Expand Down Expand Up @@ -260,6 +260,7 @@ Obsidian 还支持一种外部样式代码引用的方式。
- [[Obsidian样式-Thino伪悬浮编辑框]]
- [[Obsidian样式-Thino展开增强]]
- [[Obsidian样式-Thino列表模式日期样式调整]]
- [[Obsidian样式-Thino多文件模式超长文件名优化显示]]

#### Admonition

Expand Down

0 comments on commit 183f2f9

Please sign in to comment.