Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMBCESS-5654, EMBCESSMOD-5656: fixed long line breaks #2415

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ private static SelfServeSupportType MapSupportTypeToSelfServeSupportType(Support

private static async Task<IEnumerable<era_evacueesupport>> GetDuplicateSupportsForHouseholdMember(EssContext ctx, era_householdmember hm, int[] similarSupportTypes, DateTimeOffset eligibleFrom, DateTimeOffset eligibleTo, CancellationToken ct)
{
// eligibility is calculate for an entire PST day to prevent getting supports for the same day twice
eligibleFrom = eligibleFrom.DateTime.ToPST().Date.FromUnspecifiedPstToUtc();
eligibleTo = eligibleTo.DateTime.ToPST().Date.FromUnspecifiedPstToUtc().AddDays(1).AddSeconds(-1);
return await ctx.era_evacueesupports
Expand Down Expand Up @@ -344,6 +345,7 @@ private static IEnumerable<SupportType> GetMatchingTypesByCategory(SupportType s
case SupportType.FoodGroceries:
case SupportType.FoodRestaurant:
return new[] { SupportType.FoodGroceries, SupportType.FoodRestaurant };

default:
return new[] { supportType };
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ table {
}

.mat-mdc-cell {
word-break: break-all;
word-break: break-word;
}

.mobile-label {
Expand Down Expand Up @@ -86,7 +86,7 @@ table {
align-items: unset;
min-height: unset;
border-bottom: none !important;
word-break: break-all;
word-break: break-word;
}

// Remove the header row altogether
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@
}

.mat-column-contact {
word-break: break-all;
word-break: break-word;
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ mat-expansion-panel {
}

td {
word-break: break-all;
word-break: break-word;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mat-header-cell {
font-weight: 700;
padding-right: 20px;
overflow-wrap: anywhere;
word-break: break-all;
word-break: break-word;
}

.data-panel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
background: #eee;
padding: 1rem;
font-family: monospace;
word-break: break-all;
word-break: break-word;
}