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

[ リスト / 枠線ボックス ]リストの is-style-default スタイルと枠線ボックスの色の処理を改善 #2379

Merged
merged 4 commits into from
Dec 20, 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
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ e.g.
1. VK Blocks examples.

== Changelog ==
[ Design Bug Fix ][ Core List ][ Border Box ] Improved handling of List's is-style-default style and Border Box color.

= 1.93.0 =
[ Add function ][ Link toolbar ][ Outer (Pro) ] Added settings for "rel" and link description.
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/border-box/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
padding: 1.5em 2em 1.5em;
}

& > *:not(.has-text-color) {
& > *:not([class*="alert-"]):not(.has-text-color) {
// 枠線の色が影響しないようにする
color: initial;
}
Expand Down
3 changes: 2 additions & 1 deletion src/utils/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ $colorPalette: (
ul,
ol {
&.is-style {
&-default,
&-vk-arrow-mark,
&-vk-triangle-mark,
&-vk-check-mark,
Expand All @@ -214,7 +215,7 @@ ol {
&:not(.has-link-color) {
color: initial;
}
li {
&:where(:not(.is-style-default)) li {
list-style: none;
position: relative;
margin-top:0;
Expand Down
Loading