Skip to content

Commit

Permalink
Merge pull request #2379 from vektor-inc/fix/default-li-color
Browse files Browse the repository at this point in the history
[ リスト / 枠線ボックス ]リストの is-style-default スタイルと枠線ボックスの色の処理を改善
  • Loading branch information
akito-38 authored Dec 20, 2024
2 parents 8cfa108 + 40ba988 commit 9168b2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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

0 comments on commit 9168b2d

Please sign in to comment.