Skip to content

Commit

Permalink
adjust splitmodal styling
Browse files Browse the repository at this point in the history
  • Loading branch information
HedwigO committed Dec 7, 2023
1 parent 3f4ba79 commit 5848bb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front-end/src/components/ForgotPassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ForgotPassword = () => {

<div className="mt-4">
<p>
No need to rest?{" "}
No need to reset?{" "}
<a href="/" className="forgot-password-link">
Login
</a>
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/components/SplitModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function SplitModal({
handlePercentageChange(e, participant._id)
}
/>
<span>% =</span>
<span className="percentage-sign">%</span> <span className="equals-sign">=</span>
<span className="calculated-amount">
{" " +
"$" +
Expand Down
12 changes: 12 additions & 0 deletions front-end/src/styles/SplitModal.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@
@apply whitespace-nowrap;
}

.percentage-sign {
margin-right: 3px;
}

.equals-sign {
padding-right: 4px;
}

.participant-percentage-input {
margin-right: -4px;
}

/* Dark Mode for Split Modal */
.dark-mode .split-modal-content {
@apply bg-gray-900;
Expand Down

0 comments on commit 5848bb5

Please sign in to comment.