Skip to content

Commit 7face8e

Browse files
authored
UX: Increase footer copy limits (#113)
Increases the max length allow for the heading and blurb strings, allowing the component to accommodate longer brand copy. This also tightens the footer heading line height and allows longer heading text to wrap cleanly when it spans multiple lines.
1 parent 0bdbf9b commit 7face8e

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎common/common.scss‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
.heading {
2222
font-size: $font-up-2;
2323
font-weight: bold;
24+
line-height: 1.15;
2425
margin-bottom: 0.5em;
2526
display: block;
27+
overflow-wrap: anywhere;
2628
}
2729

2830
.blurb {

‎locales/en.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ en:
22
theme_metadata:
33
settings:
44
heading:
5-
description: "Text for the heading in the footer - you can use your site name for example - Max length 25 characters"
5+
description: "Text for the heading in the footer - you can use your site name for example - Max length 60 characters"
66
blurb:
7-
description: "Enter a short blurb about your community - Max length 180 characters"
7+
description: "Enter a short blurb about your community - Max length 300 characters"
88
sections:
99
description: "Sections to be displayed in the footer"
1010
schema:

‎settings.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
heading:
22
default: "This is a header"
3-
max: 25
3+
max: 60
44

55
heading_translations:
66
type: objects
@@ -66,11 +66,11 @@ heading_translations:
6666
type: string
6767
required: true
6868
validations:
69-
max_length: 25
69+
max_length: 60
7070

7171
blurb:
7272
default: "Ius vitae ornatus at, ei mea sumo quot dicant. Ei tale democritum eos, in mea timeam accumsan forensibus. Ei his aperiam suavitate. Et debitis convenire sea, viris dictas latine."
73-
max: 180
73+
max: 300
7474

7575
blurb_translations:
7676
type: objects
@@ -136,7 +136,7 @@ blurb_translations:
136136
type: string
137137
required: true
138138
validations:
139-
max_length: 180
139+
max_length: 300
140140

141141
sections:
142142
type: objects

0 commit comments

Comments
 (0)