Skip to content

Commit

Permalink
Make excavation date optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ejimsan committed Nov 18, 2024
1 parent 4669503 commit 221b391
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/fragmentarium/ui/info/Details.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

.Details__item--provenance {
list-style-position: inside;
list-style-position: outside;
list-style-type: disc;
}

Expand Down
8 changes: 5 additions & 3 deletions src/fragmentarium/ui/info/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,11 @@ function Details({
<li className="Details__item--provenance">
<Excavation fragment={fragment} />
</li>
<li className="Details__item--provenance">
<ExcavationDate fragment={fragment} />
</li>
{fragment.archaeology?.date && (
<li className="Details__item--provenance">
<ExcavationDate fragment={fragment} />
</li>
)}
<li className="Details__item--provenance">{`Findspot: ${
findspotString || '-'
}`}</li>
Expand Down

0 comments on commit 221b391

Please sign in to comment.