Skip to content

Commit

Permalink
Correct paragraph numerion in palaeography, place before Fossey, make…
Browse files Browse the repository at this point in the history
… signs bigger (#508)
  • Loading branch information
ejimsan authored Oct 24, 2024
1 parent 4ca6eb7 commit 6b37f26
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 83 deletions.
2 changes: 1 addition & 1 deletion src/signs/ui/display/SignDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function SignDisplay({
wordService={wordService}
/>
{sign.mesZl && <MesZl signName={sign.name} mesZl={sign.mesZl} />}
<SignImages signName={sign.name} signService={signService} />
{sign.fossey && (
<>
<FosseyDisplay fosseys={sign.fossey} />
Expand All @@ -68,7 +69,6 @@ function SignDisplay({
</div>
</>
)}
<SignImages signName={sign.name} signService={signService} />
</Container>
) : (
<p>Please log in to browse the Signs.</p>
Expand Down
2 changes: 1 addition & 1 deletion src/signs/ui/display/SignFossey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function FosseyDisplay({
<Row className={'mt-5'}>
<Row>
<Col>
<h3>&#8546;. Fossey, Manuel d’assyriologie &#8545;</h3>
<h3>&#8547;. Fossey, Manuel d’assyriologie &#8545;</h3>
</Col>
</Row>
<Row>
Expand Down
4 changes: 2 additions & 2 deletions src/signs/ui/display/SignImages.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.sign-images__sign-image {
min-width: 80px;
max-height: 100px;
min-width: 110px;
max-height: 110px;
}

.figure-caption .mesopotamian-date-display {
Expand Down
6 changes: 3 additions & 3 deletions src/signs/ui/display/SignImages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ function SignImagePagination({

return (
<Container>
<Row>
<Row className={'mt-5'}>
<Col>
<h3>&#8548;. Palaeography</h3>
<h3>&#8546;. Palaeography</h3>
</Col>
</Row>
<Row>
<Col className={'mb-5 pb-5'}>
<Col className={'mb-5'}>
{scriptsSorted.map((elem, index) => {
const [scriptAbbr, croppedAnnotation] = elem
let script = 'Unclassified'
Expand Down
152 changes: 76 additions & 76 deletions src/signs/ui/display/__snapshots__/SignDisplay.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,81 @@ exports[`Sign Display Sign Display Snapshot 1`] = `
</div>
</div>
</div>
<div
class="container"
>
<div
class="mt-5 row"
>
<div
class="col"
>
<h3>
Ⅲ. Palaeography
</h3>
</div>
</div>
<div
class="row"
>
<div
class="mb-5 col"
>
<div
class="accordion"
>
<div
class="card"
>
<button
class="btn btn-link"
type="button"
>
Middle Assyrian (ca. 1595–1000 BCE)
</button>
<div
class="collapse show"
>
<div
class="card-body"
>
<div
class="row"
>
<div
class="col"
>
<figure
class="figure"
>
<img
class="sign-images__sign-image figure-img img-fluid"
src="data:image/png;base64, test-base64-string"
/>
<figcaption
class="figure-caption"
>
<a
href="/fragmentarium/"
>
 
</a>
i stone wig 1'
</figcaption>
</figure>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="border-top"
/>
</div>
</div>
</div>
<div
class="mt-5 row"
>
Expand All @@ -498,7 +573,7 @@ exports[`Sign Display Sign Display Snapshot 1`] = `
class="col"
>
<h3>
. Fossey, Manuel d’assyriologie Ⅱ
. Fossey, Manuel d’assyriologie Ⅱ
</h3>
</div>
</div>
Expand Down Expand Up @@ -581,81 +656,6 @@ exports[`Sign Display Sign Display Snapshot 1`] = `
</a>
</div>
</div>
<div
class="container"
>
<div
class="row"
>
<div
class="col"
>
<h3>
Ⅴ. Palaeography
</h3>
</div>
</div>
<div
class="row"
>
<div
class="mb-5 pb-5 col"
>
<div
class="accordion"
>
<div
class="card"
>
<button
class="btn btn-link"
type="button"
>
Middle Assyrian (ca. 1595–1000 BCE)
</button>
<div
class="collapse show"
>
<div
class="card-body"
>
<div
class="row"
>
<div
class="col"
>
<figure
class="figure"
>
<img
class="sign-images__sign-image figure-img img-fluid"
src="data:image/png;base64, test-base64-string"
/>
<figcaption
class="figure-caption"
>
<a
href="/fragmentarium/"
>
 
</a>
i stone wig 1'
</figcaption>
</figure>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="border-top"
/>
</div>
</div>
</div>
</div>
</div>
</main>
Expand Down

0 comments on commit 6b37f26

Please sign in to comment.