-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #926 from juestchaos/main
更新
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
10-Obsidian/Obsidian外观/CSS 片段/Obsidian样式-Thino多文件模式超长文件名优化显示.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters