Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Fix border color class names not being applied correctly #10468

Merged
merged 1 commit into from
Aug 4, 2023
Merged
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
4 changes: 2 additions & 2 deletions assets/js/base/utils/get-inline-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function getBorderClassName( attributes: {
: '';

return classnames( {
'has-border-color': borderColor || style?.border?.color,
borderColorClass,
'has-border-color': !! borderColor || !! style?.border?.color,
[ borderColorClass ]: !! borderColorClass,
} );
}

Expand Down
Loading