Skip to content

Commit 9213d86

Browse files
committed
REQUIREMENT: Numbered passages should have increased spacing for improved readability (closes #287)
1 parent aa72a60 commit 9213d86

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

frontend/src/components/Passage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Passage({source, rubric, scholia, margin, sourceId, backend, setLastUpd
2626
}];
2727
}
2828
return (
29-
<Row>
29+
<Row className={`passage ${rubric ? 'numbered-passage' : ''}`}>
3030
<Col className="main">
3131
{!isFromScratch &&
3232
<Container>

frontend/src/styles/Passage.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
mark {
22
padding: 0 !important;
33
}
4+
5+
.numbered-passage {
6+
margin-bottom: 1em;
7+
}

0 commit comments

Comments
 (0)