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

「CSSの修正」スライダーアイテム:編集画面で幅広幅に対応 #1156

Merged
merged 4 commits into from
Jul 8, 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
5 changes: 5 additions & 0 deletions _g2/assets/_scss/block/_block_editor_width.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ div[data-align=full]
}
}
& > .wp-block[data-align=wide],
& > .wp-block.alignwide,
& > div[data-align=wide]{
width:var(--vk-width-editor-wide);
max-width:var(--vk-width-editor-wide);
Expand All @@ -121,6 +122,10 @@ div[data-align=full]
margin-left:auto;
margin-right:auto;
}
// vk_slider_item
.vk_slider_item {
max-width: var(--vk-width-editor-wide);
}
}
// __inner-container
& > .wp-block[data-align=full],
Expand Down
2 changes: 1 addition & 1 deletion _g2/assets/css/common_editor.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions _g3/assets/_scss/block/_block_width_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ html .edit-post-visual-editor :where(.editor-styles-wrapper) .block-editor-block
margin-left:auto !important;
margin-right:auto !important;
}
// vk_slider_item
.vk_slider_item {
max-width: var(--vk-width-editor-wide);
}
}

// __inner-container
Expand All @@ -222,6 +226,7 @@ html .edit-post-visual-editor :where(.editor-styles-wrapper) .block-editor-block
margin-right:auto;
}
}

.vk_outer-width-full {
&:not(:is(.vk_outer-paddingLR-zero,.vk_outer-paddingLR-use)) {
.vk_outer_container {
Expand Down
2 changes: 1 addition & 1 deletion _g3/assets/css/editor.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ https://www.vektor-inc.co.jp/inquiry/

== Changelog ==

[ G3 / G2 ][ Editor Design Bug Fix ] Supports wide slider item widths.

v15.25.1
[ G3 ][ Bug fix ] Fix PHP warning

Expand Down
Loading