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

[スライダー]ウィジェットエディタで配置(全幅)の表示が左に寄ってる #1921

Open
sysbird opened this issue Feb 19, 2024 · 1 comment
Assignees

Comments

@sysbird
Copy link
Member

sysbird commented Feb 19, 2024

slider-align

@sysbird
Copy link
Member Author

sysbird commented Feb 19, 2024

全幅の他のブロックを見ると、編集画面では <div class="wp-block" data-align="full"> で囲まれることで全幅表示になっている
このときブロック自体に alignfull クラスは付かない(フロントでは付いている)

グリッドカラムカードのように block.json で下記にすると、コアの機能でそうなるのかもしれない

"supports": {
		"align": true
},

そうしてない理由があるかも?
いま修正するのは現実的ではないかもしれないので、編集画面の css で対応すればよいのかな?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants