No margin bottom for buttons in content with the WP editor
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
调研方向
在 WordPress 中使用 Button 区块和 Otter Buttons Group 区块重现该问题,然后将产生的间距与 Twenty Twenty-One 进行比较。确定负责内容区块间距的主题样式;完成标准是按钮被其他内容包围时具有适当的外边距,而不需要单独的外边距控件。
由索引模型根据 Issue 内容生成。
描述
Description
A user mentioned on the forum that Neve doesn't add any margin to the buttons in the page content and that Gutenberg blocks should have a margin. I need help here as I don't know if it's a guideline in this regard or not.
What I did is to use the button block from WP and the buttons group block from Otter, and none of the allows the user to set a margin for the buttons. Compared to Neve, the Twenty Twenty-One theme seems to add margin to all the blockw within the page content with the * CSS selector.
Neve

Twenty Twenty-One

Step-by-step reproduction instructions
- Add a button from WordPress
- Add some content above and below it, like text
- Try adding some margin around the buttons - there is no such option; I didn't find it in the Otter Buttons Group block either.
Screenshots, screen recording, code snippet or Help Scout ticket
https://wordpress.org/support/topic/wp-block-button__link-should-have-margin/
Environment info
Not relevant for this case
Is the issue you are reporting a regression
No
- 主要语言
- PHP
- 星标
- 307
- 派生
- 88
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 10
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeinwp/neve 的其他 Issue
-
bug-report bug-report-triage customer report regression
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
feature-request-triage
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
feature-request-triage
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
Elementor single-color endpoint returns global_not_found for Neve palette colors可能已有人在做 @girishpanchal30 于 4 天前认领。 未关闭bug-report bug-report-triage customer report regression
Codeinwp/neve#4633 · 12 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
customer report feature-request-triage
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
相似的 Issue
-
Toolkit
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installed未关闭
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
langgenius/dify#43074 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
module: remove unused css
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
backdrop-contrib/field_group#99 · 2 条评论 ·