diff --git a/client/app/helpers/center-lengthy-text.js b/client/app/helpers/center-lengthy-text.js
new file mode 100644
index 000000000..f6407aad5
--- /dev/null
+++ b/client/app/helpers/center-lengthy-text.js
@@ -0,0 +1,7 @@
+import { helper } from '@ember/component/helper';
+
+export function centerLengthyText(text) {
+ return (text.length > 22) ? 'center-content' : '';
+}
+
+export default helper(centerLengthyText);
diff --git a/client/app/styles/layouts/_l-default.scss b/client/app/styles/layouts/_l-default.scss
index 8b8c9e6b2..1ce9c75ce 100644
--- a/client/app/styles/layouts/_l-default.scss
+++ b/client/app/styles/layouts/_l-default.scss
@@ -342,3 +342,9 @@ h5.clickable-header {
box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}
}
+
+// fixes for the extra long ULURP name & numbers to prevent bleeding into the BBL numbers
+.text-tiny .center-content {
+ display: flex;
+ justify-content: center;
+}
diff --git a/client/app/templates/components/milestones/public-hearing.hbs b/client/app/templates/components/milestones/public-hearing.hbs
index 5daa43ba5..1b97a5c90 100644
--- a/client/app/templates/components/milestones/public-hearing.hbs
+++ b/client/app/templates/components/milestones/public-hearing.hbs
@@ -11,9 +11,12 @@
{{#each @hearing.hearingActions as |action index|}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{/each}}
diff --git a/client/app/templates/components/project-milestone.hbs b/client/app/templates/components/project-milestone.hbs
index a2225f7e1..1b39912a6 100644
--- a/client/app/templates/components/project-milestone.hbs
+++ b/client/app/templates/components/project-milestone.hbs
@@ -125,9 +125,12 @@
{{#each vote.voteActions as |action index|}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{/each}}
@@ -158,9 +161,12 @@
{{#each vote.voteActions as |action index|}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{/each}}
diff --git a/client/app/templates/components/to-review-project-card.hbs b/client/app/templates/components/to-review-project-card.hbs
index 711e3b01f..71b000552 100644
--- a/client/app/templates/components/to-review-project-card.hbs
+++ b/client/app/templates/components/to-review-project-card.hbs
@@ -131,9 +131,11 @@
{{#each hearing.hearingActions as |action index| ~}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{~/each}}
diff --git a/client/app/templates/components/upcoming-project-card.hbs b/client/app/templates/components/upcoming-project-card.hbs
index bdeec03ef..dd0da51cf 100644
--- a/client/app/templates/components/upcoming-project-card.hbs
+++ b/client/app/templates/components/upcoming-project-card.hbs
@@ -118,9 +118,11 @@
{{#each hearing.hearingActions as |action index| ~}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{~/each}}
diff --git a/client/app/templates/my-projects/assignment/hearing/add.hbs b/client/app/templates/my-projects/assignment/hearing/add.hbs
index ad632fdbf..4e0170714 100644
--- a/client/app/templates/my-projects/assignment/hearing/add.hbs
+++ b/client/app/templates/my-projects/assignment/hearing/add.hbs
@@ -161,9 +161,11 @@
{{#each hearing.hearingActions as |action index| ~}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{~/each}}
diff --git a/client/app/templates/my-projects/assignment/recommendations/add.hbs b/client/app/templates/my-projects/assignment/recommendations/add.hbs
index 8ec225cc4..8fc5c194f 100644
--- a/client/app/templates/my-projects/assignment/recommendations/add.hbs
+++ b/client/app/templates/my-projects/assignment/recommendations/add.hbs
@@ -61,9 +61,11 @@
{{#each hearing.hearingActions as |action index| ~}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{~/each}}
@@ -556,9 +558,11 @@
{{#each hearing.hearingActions as |action index| ~}}
{{#if action.dcpName}}
-
- {{action.dcpName}}
- {{action.dcpUlurpnumber}}
+
+
+ {{action.dcpName}}
+ {{action.dcpUlurpnumber}}
+
{{/if}}
{{~/each}}