-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
挂件默认大小和默认居左如何调整? #21
Comments
将如下片段塞到主题/全局样式中即可令所有挂件默认居左 .b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; } |
挂件的默认大小呢? |
.b3-typography iframe, .protyle-wysiwyg iframe { width: 765px; height: 256px; } |
👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去 😄 |
已经有了: 增加公共代码 js/css 片段 |
噢噢 我刚提了😅 |
没看明白怎么使用😅 |
就以上面的两个片段举例 [
{
"name": "123",
"type": "css",
"enabled": true,
"content": ".b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; }"
},
{
"name": "456",
"type": "css",
"enabled": true,
"content": ".b3-typography iframe, .protyle-wysiwyg iframe { width: 765px; height: 256px; }"
}
]
|
收到,谢谢! |
目前新建挂件默认居中,并且初始化的窗口太小了,不太方便,有地方可以调整吗?
![image](https://user-images.githubusercontent.com/6448115/196326001-ff3ff286-962f-46d7-a236-05558b593b14.png)
如果是这样就好了:
![image](https://user-images.githubusercontent.com/6448115/196326071-21b91492-1ffe-4128-90b7-e3bf805cbf3d.png)
The text was updated successfully, but these errors were encountered: