Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: When using thino to customize the title, if the custom title is too long, it will cause CSS rendering problems. #737

Closed
1 task done
saralaaga opened this issue Jan 7, 2025 · 6 comments
Labels
not bug Translation into English: Based on the description and tracking, it is highly likely that the issue

Comments

@saralaaga
Copy link

Bug Description | BUG 描述

iOS端
IMG_45CCA713BA16-1
如果是自定义标题的话,过长的自定义标题会让CSS出现问题。

Relevant Screenshot | 相关截图

No response

To Reproduce | 重现问题

No response

Obsidian Version | Obsidian 版本

1.7.7

Checklist

  • I updated to the latest version of the plugin. 我更新到了插件的最新版本。
@saralaaga saralaaga added the bug Something isn't working label Jan 7, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically...


Title: [Bug]: When using thino to customize the title, if the custom title is too long, it will cause CSS rendering problems.

@juestchaos juestchaos added not bug Translation into English: Based on the description and tracking, it is highly likely that the issue and removed bug Something isn't working labels Jan 8, 2025
@juestchaos
Copy link
Collaborator

你可以使用 snippets 针对你的特殊情况,进行兼容

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

@juestchaos juestchaos changed the title [Bug]: 在使用thino自定义标题的时候,如果自定义标题过长,会使得CSS渲染出现问题。 [Question]: When using thino to customize the title, if the custom title is too long, it will cause CSS rendering problems. Jan 8, 2025
@saralaaga
Copy link
Author

saralaaga commented Jan 8, 2025

是一个插件吗? 我看插件市场中有很多类似的插件

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically...


Is it a plug-in? I see that there are many similar plug-ins in the middle of the plug-in market.

@juestchaos
Copy link
Collaborator

是自定义样式,在 ob 设置外观中使用,社区文档有如何使用 自定义样式的教学

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically...


It is a custom style, which is used when setting the appearance of ob. The community document has instructions on how to use custom styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not bug Translation into English: Based on the description and tracking, it is highly likely that the issue
Projects
None yet
Development

No branches or pull requests

3 participants