Skip to content

Commit 6299ee1

Browse files
committed
padawan - fix conflicts
2 parents a996b28 + 0a3b7b3 commit 6299ee1

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
const SwayLoading = ({ isHidden, className }: { isHidden?: boolean; className?: string }) => (
2-
<img
3-
src="/images/loading.svg"
4-
alt="Loading..."
5-
className={className}
6-
style={{ width: "100%", maxWidth: "100px", visibility: isHidden ? "hidden" : "visible" }}
7-
/>
1+
const SwayLoading = ({ isHidden = true, className }: { isHidden?: boolean; className?: string }) => (
2+
<div
3+
className={`container text-center ${className || ""}`}
4+
style={{
5+
visibility: isHidden ? "hidden" : "visible",
6+
}}
7+
>
8+
<img src="/images/loading.svg" alt="Loading..." style={{ maxWidth: 100 }} />
9+
</div>
810
);
911

1012
export default SwayLoading;

app/frontend/components/bill/BillSummaryModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const BillSummaryModal: React.FC<IProps> = ({
3434
(isTruncated: boolean) => {
3535
if (!summary) return null;
3636

37-
// TODO: Arbitrarily picked 200, should probably cut-off also at first bullet point or after first paragraph.
37+
// TODO: Arbitrarily picked 300, should probably cut-off also at first bullet point or after first paragraph.
3838
// truncate to first index of a markdown link or 300
3939
const firstLinkOpenIndex = summary.indexOf("[");
4040
const truncated = summary

0 commit comments

Comments
 (0)