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

Stop shipping package titles breaking in the middle of a word #4049

Merged
merged 1 commit into from
Apr 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/js/base/components/title/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
.wc-block-components-title.wc-block-components-title {
@include reset-box();
@include font-size(large);
word-break: break-word;
}

// For Twenty Twenty we need to increase specificity a bit more.
.theme-twentytwenty {
.wc-block-components-title.wc-block-components-title {
@include reset-box();
@include font-size(large);
word-break: break-word;
}
}