Skip to content

Fix: form label association with control #1854

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

Merged
merged 1 commit into from
Jan 28, 2025
Merged
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
22 changes: 11 additions & 11 deletions web/src/pages/Cases/CaseDetails/Appeal/Classic/StageExplainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const StyledBox = styled(Box)`
height: auto;
width: 100%;
padding: 16px 24px;
& > div > label {
& > div > p {
display: block;
margin-bottom: 4px;
}
Expand Down Expand Up @@ -46,12 +46,12 @@ interface IStageExplainer {
const StageOneExplanation: React.FC = () => (
<div>
{" "}
<label>
<p>
Losing options can only be funded <small>before</small> the deadline.
</label>
<label>
</p>
<p>
If no losing option is <small>fully funded</small> in time, the jury decision is maintained.
</label>
</p>
</div>
);

Expand All @@ -60,14 +60,14 @@ const StageTwoExplanation: React.FC = () => {
const options = useOptionsContext();
return (
<div>
<label>
<p>
Loser deadline has <small>finalized</small>, you can only fund the current winner.
</label>
<label>
</p>
<p>
If the current winner is not fully funded in time, the option funded during the previous stage will be declared
as the final winner.
</label>
<label>
</p>
<p>
{" "}
Following choice was funded in the stage 1 :{" "}
<small>
Expand All @@ -77,7 +77,7 @@ const StageTwoExplanation: React.FC = () => {
)
: null}
</small>
</label>
</p>
</div>
);
};
Expand Down
Loading