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

【確認待ち】[ グリッドカラムカード ] カードブロック内の上下要素の指定が編集画面で効かない(下揃えになってしまう)不具合を修正 #1915

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions editor-css/_editor_before_gridcolcard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
display: grid;
grid-template-rows : auto;
& > .block-editor-block-list__layout {
display: flex; // これがないと高さが伸びないので上下揃えが効かない
flex-direction: column; // flex指定してしまってるので要素が縦積みになるように指定
margin-top:0;
margin-bottom:0;
grid-template-rows : 1fr;
Expand All @@ -59,6 +61,7 @@
}
[class*="vk_gridcolcard_item_body-valign"] {
display: grid;
height:100%; // これがないと高さが伸びないので上下揃えが効かない
}
.vk_gridcolcard_item_body-valign-bottom {
align-content: center;
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ e.g.

== Changelog ==

[ Bug Fix ][ GridColCard (Pro) ] Fixed a bug where vertical alignment settings for card blocks did not apply in the editing screen.
[ Bug Fix ][ Slider ] Corresponding Slider Mode to Site Editor / Widget Editor.
[ Bug Fix ][ Slider ] Fixed a bug where placing heading blocks and similar elements directly in slides made them uneditable.

Expand Down
Loading